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
As a concrete example, let's say an entity has to be created from an RPC controller. A
DoctrineResource::createmethod is then called. Thus, when calling it,datais filtered through aZF\Apigility\Doctrine\Server\Query\CreateFilter\DefaultCreateFilter(by default, should no extra configuration provided) as shown hereDefaultCreateFilter), the event is not used at all.DoctrineResource::createimplementation, the event may not be available.Originally posted by @jguittard at zfcampus/zf-apigility-doctrine#280