Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When deleting entities, return boolean status for success/failure #51

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

kzu
Copy link
Member

@kzu kzu commented Jul 1, 2021

Currently, attempting to delete a non-existent entity results in a StorageException. Catch that and instead return a boolean when the operation was successful (based on the returned status code from the operation).

Fixes #50

Currently, attempting to delete a non-existent entity results in a StorageException. Catch that and instead return a boolean when the operation was successful (based on the returned status code from the operation).

Fixes #50
@kzu kzu added the enhancement New feature or request label Jul 1, 2021
@kzu kzu enabled auto-merge (rebase) July 1, 2021 16:29
@kzu kzu merged commit 9c80b39 into main Jul 1, 2021
@kzu kzu deleted the feature/deletefail branch July 1, 2021 16:33
@devlooped devlooped locked and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't fail if deleting non-existent entity, return false instead
1 participant