Skip to content

[Bundles] Add part about resolving parameter values to prepend extension #15048

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 5, 2021

Conversation

alexander-schranz
Copy link
Contributor

@alexander-schranz alexander-schranz commented Mar 2, 2021

I did run into the following issue: symfony/symfony#40198

As when the $configs arrray did contain something like %kernel.debug% it did error with:

Expected "bool", but got "string".

I did debug how symfony is handling this and it seems they are resolving the parameter before here:

https://github.com/symfony/symfony/blob/252f85c2c249da7d8f2a490b57cc71199d51fcc9/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php#L54-L62

So I think this should also be part of the Prepend Extension Documentation.

@carsonbot carsonbot added this to the 4.4 milestone Mar 2, 2021
@carsonbot carsonbot changed the title Add part about resolving parameter values to prepend extension [Bundles] Add part about resolving parameter values to prepend extension Mar 5, 2021
@javiereguiluz
Copy link
Member

Thank you Alexander.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants