Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Config] Added caution notice about nested bundle configs #15300

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

Conversation

a-menshchikov
Copy link
Contributor

Inspired by a chat with @Nyholm

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 for this.

@a-menshchikov a-menshchikov force-pushed the invalid_config_builder branch from d25965a to 3cceddc Compare April 30, 2021 07:46
@carsonbot carsonbot changed the title Added caution notice about nested bundle configs [Config] Added caution notice about nested bundle configs Apr 30, 2021
@javiereguiluz javiereguiluz added this to the 5.3 milestone Apr 30, 2021
@javiereguiluz
Copy link
Member

Thank you Alexander.

@javiereguiluz javiereguiluz merged commit 7172784 into symfony:5.x Apr 30, 2021
@a-menshchikov a-menshchikov deleted the invalid_config_builder branch April 30, 2021 13:55
derrabus added a commit to symfony/symfony that referenced this pull request May 2, 2021
…a-menshchikov)

This PR was merged into the 5.3-dev branch.

Discussion
----------

[Config] More accurate message on invalid config builder

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Throw exception when trying to autowire nested bundle config instead of ConfigBuilder (related Doc PR symfony/symfony-docs#15300).
Also renamed test class AcmeConfigBuilder to AcmeConfig according config builders auto naming.

Inspired by a chat with `@Nyholm`

Commits
-------

0501ecc More accurate message on invalid config builder
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.

4 participants