Open Dwarfex opened 8 years ago
I think all POST events should have the entity/collection and all PRE events should have the query builder.
These changes would be new development.
This repository has been closed and moved to laminas-api-tools/api-tools-doctrine; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-doctrine/issues/8.
Hi, i left a comment in the Code Link
Shouldn't it be possible to alter the collection in the EVENT_FETCH_ALL_POST Event ? Only the EntityClass and the $data Variables are included in this Event. Where $data is just the parameter for the createQuery - Function. Is there a way to get the current collection from this - or was it a mistake to remove $collection from this event?
Greetings, Dwarfex