Open
Description
As a concrete example, let's say an entity has to be created from an RPC controller. A DoctrineResource::create
method is then called. Thus, when calling it, data
is filtered through a ZF\Apigility\Doctrine\Server\Query\CreateFilter\DefaultCreateFilter
(by default, should no extra configuration provided) as shown here
- In this concrete class (
DefaultCreateFilter
), the event is not used at all. - Although filtering is mandatory through the
DoctrineResource::create
implementation, the event may not be available. - That should not stopped the process of creating an entity through its dedicated Resource.
Originally posted by @jguittard at zfcampus/zf-apigility-doctrine#280