Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call extension method in registry #9

Merged

Conversation

romm
Copy link
Contributor

@romm romm commented Apr 12, 2020

The definition given to Symfony container would always call the method
which creates a service in the registry. It led to unexpected behaviours
that could not be perceived in current tests because the extension
factories don't return a different value.

@romm
Copy link
Contributor Author

romm commented Apr 12, 2020

This one was really tricky to find, took me ~3 hours 🤯

@coveralls
Copy link

coveralls commented Apr 12, 2020

Coverage Status

Coverage remained the same at 0.0% when pulling ed7b57a on romm:bugfix/call-extension-method-in-registry into 529ebf1 on thecodingmachine:1.0.

@romm romm force-pushed the bugfix/call-extension-method-in-registry branch from 7b8484e to 639f166 Compare April 13, 2020 00:53
The definition given to Symfony container would always call the method
which creates a service in the registry. It led to unexpected behaviours
that could not be perceived in current tests because the extension
factories don't return a different value.
@romm romm force-pushed the bugfix/call-extension-method-in-registry branch from 639f166 to ed7b57a Compare April 13, 2020 01:02
@moufmouf
Copy link
Member

Impressive 👍 Thanks so much!

@moufmouf moufmouf merged commit 89a6410 into thecodingmachine:1.0 Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants