quick icon indicating copy to clipboard operation
quick copied to clipboard

Accept map of event to custom interceptor per entity

Open elpete opened this issue 4 years ago • 0 comments

This would accept a map of Quick lifecycle events to a string or array of string custom interception points. Quick would announce each custom interception point during its corresponding lifecycle event. This allows for nicer interceptors as they don’t have to listen to the generic quickPostInsert event and then check the model name or mapping but can just listen to onOrderCreated, for example.

Prior art: https://laravel.com/docs/7.x/eloquent#events

elpete avatar Jun 09 '20 03:06 elpete