-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DI] Deprecate dumping an uncompiled container #20634
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
Conversation
Why? Dumping a container to YAML or XML is perfectly valid for a non-compiled container. How is that a bug fix? |
This is not a bug fix for sure. |
Updated. I think indeed it make no sense for YAML, etc. Also no strong opinion on this (as compared to #19673) however it would simplify the PHP Dumper in 4.0 a lot. Also tests are unclear about this, some call |
I forgot to mention this argument and it was really the beginning of the idea: PhpDumper is already complex enough, there is no need to have all these |
There are some bottlenecks.. which im not sure how to solve;
Basically all service fixtures ( We need to separate these tests for legacy and add a Im still 👍 for deprecating this feature though.
Agree, this makes it a real burden to maintain. |
👍 for doing this on PhpDumper only. |
Looks like tests are passing :) |
Thank you @ro0NL. |
…guiluz) This PR was merged into the 3.3-dev branch. Discussion ---------- [DI] update changelog and upgrade files | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #20634 | License | MIT | Doc PR | Commits ------- ad7afe0 Added a needed blank line d2b4996 [DI] update changelog and upgrade files
… (ro0NL) This PR was merged into the 4.0-dev branch. Discussion ---------- [DI] Remove deprecated dumping an uncompiled container | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | yes | Deprecations? | no | Tests pass? | should be | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!--highly recommended for new features--> See #20634 Commits ------- c1c525c [DI] Remove deprecated dumping an uncompiled container
It makes the PHP dumper less complex. Compiled container goes in, compiled container goes out.
Relates to #19673