Skip to content

Prepend serializer configuration when not enabled #2

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

Conversation

sroze
Copy link
Contributor

@sroze sroze commented Feb 6, 2015

When the framework.serializer.enabled configuration is not explicitly to true, the serializer service won't be able and controller will fail trying to get it from container.

To improve DX, this prepend configuration will enable the serializer service if configuration is not explicitly defined.

dunglas added a commit that referenced this pull request Feb 6, 2015
Prepend serializer configuration when not enabled
@dunglas dunglas merged commit d8ec4c6 into api-platform:master Feb 6, 2015
theofidry added a commit to theofidry/DunglasApiBundle that referenced this pull request Aug 17, 2015
dunglas referenced this pull request in dunglas/core Jul 12, 2016
@sroze sroze deleted the prepend-serializer-configuration branch May 15, 2017 08:31
hoangnd25 pushed a commit to hoangnd25/core that referenced this pull request Feb 23, 2018
leesiongchan pushed a commit to leesiongchan/api-platform-core that referenced this pull request Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants