Skip to content

Fix missing serializer in decorated normalizer #353

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
Dec 2, 2017
Merged

Fix missing serializer in decorated normalizer #353

merged 1 commit into from
Dec 2, 2017

Conversation

beleneglorion
Copy link
Contributor

When decorated the serializer is not set in the .inner service anymore ?
Adding the SerializerAwareInterface on the decorator and passing serializer to the decorated one solve the problem.

@dunglas dunglas merged commit 4cb3aba into api-platform:2.1 Dec 2, 2017
@dunglas
Copy link
Member

dunglas commented Dec 2, 2017

Good catch, thanks for the fix!

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