Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DependencyInjection] prevent inlining service configurators #14013

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
Mar 23, 2015

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Mar 22, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Currently, only the PhpDumper is able to dump inlined service
configurators. Since Symfony applications dump the compiled container
in XML, inlined configurators will break this process.

We did something similar before with service factories in #13914.

@xabbuh xabbuh force-pushed the prevent-configurator-inlining branch from 6dbb4a3 to f75a4bb Compare March 22, 2015 08:32
@stof
Copy link
Member

stof commented Mar 22, 2015

👍

For Symfony 2.7, we should make it possible to dump the inline ones in the XML though (not being able to perform such optimization just because of the XML dumping is a shame)

Currently, only the `PhpDumper` is able to dump inlined service
configurators. Since Symfony applications dump the compiled container
in XML, inlined configurators will break this process.
@xabbuh xabbuh force-pushed the prevent-configurator-inlining branch from f75a4bb to 34619fe Compare March 22, 2015 21:41
@xabbuh
Copy link
Member Author

xabbuh commented Mar 22, 2015

@stof see #13557

@fabpot
Copy link
Member

fabpot commented Mar 23, 2015

Thank you @xabbuh.

@fabpot fabpot merged commit 34619fe into symfony:2.6 Mar 23, 2015
fabpot added a commit that referenced this pull request Mar 23, 2015
…rs (xabbuh)

This PR was merged into the 2.6 branch.

Discussion
----------

[DependencyInjection] prevent inlining service configurators

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Currently, only the `PhpDumper` is able to dump inlined service
configurators. Since Symfony applications dump the compiled container
in XML, inlined configurators will break this process.

We did something similar before with service factories in #13914.

Commits
-------

34619fe prevent inlining service configurators
@xabbuh xabbuh deleted the prevent-configurator-inlining branch March 23, 2015 08:13
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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.