Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] Add default mapping path for serializer component in bundle-less app#24833
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
yceruto commentedNov 6, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
d4b9c2a toa1d852dCompareogizanagi commentedNov 6, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Not sure the |
sroze commentedNov 6, 2017
AFAIK |
yceruto commentedNov 6, 2017
Changed to |
dunglas 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.
Should be merged in 3.4 as a bug fix. We should probably do the same for the validator component.
yceruto commentedNov 7, 2017
yceruto commentedNov 7, 2017
Rebased to 3.4 (same opinion of@nicolas-grekas here#24856 (comment)) |
chalasr commentedNov 9, 2017
So, we are moving from |
fabpot commentedNov 10, 2017
I don't think we need to support the new name for the old paths. |
fabpot commentedNov 10, 2017
Thank you@yceruto. |
…component in bundle-less app (yceruto)This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle] Add default mapping path for serializer component in bundle-less app| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | ToDo>http://symfony.com/doc/current/serializer.html#using-serialization-groups-annotations:> In addition to the@groups annotation, the Serializer component also supports Yaml or XML files. These files are automatically loaded when being stored in one of the following locations:>* The `serialization.yml` or `serialization.xml` file in the `Resources/config/` directory of a bundle;>* All `*.yml` and `*.xml` files in the `Resources/config/serialization/` directory of a bundle.Inspired by the second convention, this proposal adds one more but for bundle-less structure. Theoretically this is what it does for you:```yamlframework: serializer: mapping: paths: - '%kernel.project_dir%/config/serializer/'```Commits-------43895b8 Add default mapping path for serializer component
…omponent in bundle-less app (yceruto)This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle] Add default mapping path for validator component in bundle-less app| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | ToDoSame approach ofsymfony/symfony#24833Commits-------4e0daecc63 Add default mapping path for validator component
…omponent in bundle-less app (yceruto)This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle] Add default mapping path for validator component in bundle-less app| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | ToDoSame approach of#24833Commits-------4e0daec Add default mapping path for validator component
Uh oh!
There was an error while loading.Please reload this page.
Inspired by the second convention, this proposal adds one more but for bundle-less structure. Theoretically this is what it does for you: