Skip to content

replace definition cloning with ChildDefinition #150

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

Merged
merged 1 commit into from
Apr 15, 2017
Merged

replace definition cloning with ChildDefinition #150

merged 1 commit into from
Apr 15, 2017

Conversation

fbourigault
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #139
Documentation N/A
License MIT

This replace clone of plugin dependency injection definitions (which is bad as Definition does not support deep cloning) by ChildDefinition (or DefinitionDecorator in Symfony <3.3).

@Nyholm Nyholm requested a review from sagikazarmark April 14, 2017 21:42
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Nyholm Nyholm merged commit 8d21d0b into php-http:master Apr 15, 2017
@fbourigault fbourigault deleted the fix-definition-clone branch April 15, 2017 07:07
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.

The DI extension should not clone definitions but use ChildDefinition/DefinitionDecorator
3 participants