Core: Context never passed to data persister remove in WriteListener

Created on 21 Aug 2019  路  2Comments  路  Source: api-platform/core

When implementing ContextAwareDataPersisterInterface I expect context to be passed to the remove method like it would to the persist method. This however never happens as seen in the WriteListener.

https://github.com/api-platform/core/blob/7ac5857a45be6806c76c39d1e53a99c7fcc883bc/src/EventListener/WriteListener.php#L109

Is this a bug, or was this done on purpose, if so why?

bug easy pick

All 2 comments

This is a bug we may have missed this code path :)

Please help us by sending a Pull Request on the 2.4 branch. :smile:

Was this page helpful?
0 / 5 - 0 ratings