-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Enhance yaml-xml serialization groups configuration doc #447
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
Thanks for your help today @GregoireHebert ! |
core/getting-started.md
Outdated
# api/config/packages/api_platform.yaml | ||
api_platform: | ||
mapping: | ||
paths: ['%kernel.project_dir%/config/api_platform'] |
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.
I would also like to keep the default value:
paths:
- '%kernel.project_dir%/src/Entity'
- '%kernel.project_dir%/config/api_platform'
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.
Agreed, Just added it :)
core/getting-started.md
Outdated
|
||
You might also need to update your framework configuration with this: | ||
|
||
``` yaml |
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.
This is done automatically when using Flex. I'll drop this part.
core/getting-started.md
Outdated
mapping: | ||
paths: | ||
- '%kernel.project_dir%/src/Entity' | ||
- '%kernel.project_dir%/config/api_platform' |
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.
Can you add a comment explaining that this is only useful if you use XML or YAML?
136237f
to
7659563
Compare
I rephrased the explanation above and add some comments on the configuration example. |
@dunglas could you please review that again ? |
ping @dunglas ;) |
Thanks @GregoireHebert |
fix api-platform/api-platform#184