Ensure `ResourceClosed` is emitted at most once for every resource
Opened this issue · 0 comments
johny-b commented
ResourceClosed
means "nothing can be done to this resource ever again", so repeated ResourceClosed
should never happen.
Currently this happens for Activity
. I consider this to be an unusual yagna
design decision - we send a DELETE, in my world repeated DELETE to the same endpoint should return 404 (assuming there was no PUT, to be exact) - and yet we always get 200, even for DELETEd Activities.
To replicate just have await activity.destroy()
multiple times for the same activity.