Troubleshooting
No serializer
service found
If you aren’t using the symfony/framework-bundle
or the symfony/serializer
component
you may not have any service called serializer
. The serializer component is a
requirement to this bundle but the configuration is part of the framework-bundle.
You can enable the serializer in your app/config/services.yml
file:
1
2
framework:
serializer: { enabled: true }
It’s recommended to let the framework-bundle register it rather than doing your own configuration, unless you know what you’re doing.
The group annotation was not taken into account
Make sure the serializer annotation is enabled in your configuration. You
can enable it in your app/config/services.yml
file:
1
2
framework:
serializer: { enabled: true, enable_annotations: true }