Hi!
This issue is related to b1590b8
commited by @teohhanhui, help would be appreciated dude.
This line https://github.com/api-platform/core/blame/master/src/EventListener/ReadListener.php#L66 is preventing building of full request attributes normalization context parameters.
I'm depending on $request->attributes->set('_api_normalization_context', $normalizationContext); which is set further bellow.
What is the reason to skip setup of normalization context when POST and collection_operation_name is set?
I'm using custom controllers here and there for handling POST requests and using deserializer group from request attributes when injecting DTO objects in controller action method (using Request ParamConverter).
Thanks for your input!
Hi!
This issue is related to b1590b8
commited by @teohhanhui, help would be appreciated dude.
This line https://github.com/api-platform/core/blame/master/src/EventListener/ReadListener.php#L66 is preventing building of full request attributes normalization context parameters.
I'm depending on
$request->attributes->set('_api_normalization_context', $normalizationContext);which is set further bellow.What is the reason to skip setup of normalization context when POST and collection_operation_name is set?
I'm using custom controllers here and there for handling POST requests and using deserializer group from request attributes when injecting DTO objects in controller action method (using Request ParamConverter).
Thanks for your input!