Skip to content

[Serializer] Enable annotations by default #7491

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 7, 2017

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Feb 14, 2017

Just like in the standard edition and the validation docs.

@dunglas dunglas force-pushed the serializer_annotations branch from 8c2b1dd to dcb2845 Compare February 14, 2017 15:18
@@ -46,6 +51,8 @@ it in your configuration:
$container->loadFromExtension('framework', array(
// ...
'serializer' => array(
'enable_annotations' => true,
// Alternatively, if you don't want to use annotations
'enabled' => true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be commented too

@xabbuh
Copy link
Member

xabbuh commented Mar 7, 2017

Thank you @dunglas.

@xabbuh xabbuh merged commit dcb2845 into symfony:2.7 Mar 7, 2017
xabbuh added a commit that referenced this pull request Mar 7, 2017
This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Enable annotations by default

Just like in the standard edition and the validation docs.

Commits
-------

dcb2845 [Serializer] Enable annotations by default
xabbuh added a commit that referenced this pull request Mar 7, 2017
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.

5 participants