GitHub user mdedetrich added a comment to the discussion: Add new deleteObject 
functions to Persistence API

Let me know if I am missing something but adding a new `deleteObject` API to 
Pekko core with a default implementation of throwing a "not supported" type of 
exception seems perfectly reasonable for me.

Regarding number 2, I recommended returning a failed future but you state that 
this is not a good approach because of the "let it crash" mentality? If so I 
don't know what to do here per say, tbh I don't have much domain knowledge 
here. It makes sense to have this new behaviour in a new set of API functions 
as well, might be a bit messy but this can then all be cleaned up in Pekko 2

GitHub link: 
https://github.com/apache/pekko/discussions/1233#discussioncomment-8911589

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to