agrestio / agrest

Server-side Java REST Framework for easy access to data graphs from various backends
https://agrest.io
Apache License 2.0
80 stars 34 forks source link

Idempotent DELETE by ids, optimizing performance #659

Closed andrus closed 9 months ago

andrus commented 9 months ago

Currently during DELETE, if the object corresponding to a specified ID is not found, a 404 exception is thrown. If we run multiple IDs, any one object that is not found will block the entire operation, which goes against the idempotent nature of DELETE. So the changes per this task: