Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection] add $lazyLoad context to the generated code for lazy non-shared service by PhpDumper#30093
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedFeb 6, 2019
Nice. Could you please add a test case with a fixture in |
nicolas-grekas commentedFeb 6, 2019
Please rebase for 4.2 also as 4.1 is EOLed. |
XuruDragon commentedFeb 6, 2019
I'll add it |
37917d9 to5c84edfComparesrc/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
98575cc toa16f92dCompare
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
small tweak
...mfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
...mfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txtShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas commentedFeb 7, 2019
Another tweak: in PhpDumper on L690: |
c156d03 todf8dd1dCompare…erated factory code for lazy non-shared services| Q | A| ------------- | ---| Branch? | 4.1| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |symfony#29930| License | MIT| Doc PR | n/aFixsymfony#29930 by adding $lazyLoad context to the generated code for lazy non-shared service by PhpDumper
nicolas-grekas commentedFeb 8, 2019
Thank you@XuruDragon. |
…ed code for lazy non-shared service by PhpDumper (XuruDragon)This PR was merged into the 4.2 branch.Discussion----------[DependencyInjection] add $lazyLoad context to the generated code for lazy non-shared service by PhpDumper| Q | A| ------------- | ---| Branch? | 4.1| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#29930| License | MIT| Doc PR | n/aFix#29930 by adding $lazyLoad context to the generated code for lazy non-shared service by PhpDumperCommits-------98d4dfd [DependencyInjection]fix#29930 add $lazyLoad flag to the generated factory code for lazy non-shared services
Fix#29930 by adding $lazyLoad context to the generated code for lazy non-shared service by PhpDumper