Invalid constructor arguments with ES document normalizer and default serializer context
API Platform version(s) affected: 3.1.2
Description
When configure a default context for the serializer inside the Symfony framework configuration the following error occurred.
Invalid constructor argument 8 for service "api_platform.elasticsearch.normalizer.document": argument 7 must be defined before. Check your service definition.
How to reproduce
Enable ES and add default_context configuration
framework:
serializer:
default_context:
datetime_format: 'Y-m-d'
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale