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

[RFR] Make previousData of DeleteParams optional #6536

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

m0rtalis
Copy link
Contributor

The previousData property of DeleteParams added in #4851 should be optional. That way the delete function can be called in a loop if deleteMany is not supported by the API. It also seems inconsistent to require previousData for deleting one entity but not for deleting multiple.

Copy link
Contributor

@djhi djhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, thanks!

@djhi djhi added this to the 3.19.1 milestone Oct 25, 2021
@djhi djhi merged commit 8ad8f0d into marmelab:master Oct 25, 2021
@m0rtalis m0rtalis deleted the patch-1 branch December 11, 2021 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants