In https://api-platform.com/docs/main/core/state-processors/ it says that you need to decorate the processor like this:
services:
# ...
App\State\UserProcessor:
bind:
$decorated: '@api_platform.doctrine.orm.state_processor'
but the @api_platform.doctrine.orm.state_processor doesn't seem to exist.
What does work though is injecting the @ApiPlatform\Doctrine\Common\State\PersistProcessor or @ApiPlatform\Doctrine\Common\State\RemoveProcessor directly though. Is that intended?
If so it should be reflected in the Docs.
In https://api-platform.com/docs/main/core/state-processors/ it says that you need to decorate the processor like this:
but the
@api_platform.doctrine.orm.state_processordoesn't seem to exist.What does work though is injecting the
@ApiPlatform\Doctrine\Common\State\PersistProcessoror@ApiPlatform\Doctrine\Common\State\RemoveProcessordirectly though. Is that intended?If so it should be reflected in the Docs.