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

Add DELETE operation #311

Open
yezyilomo opened this issue Nov 9, 2023 · 0 comments
Open

Add DELETE operation #311

yezyilomo opened this issue Nov 9, 2023 · 0 comments

Comments

@yezyilomo
Copy link
Owner

The purpose of this is to delete nested objects i.e

{
  "add": [1,2,4],
  "delete": [8]
}

Just like REMOVE operation DELETE will be supporting __all__ value to i.e

{
  "add": [1,2,4],
  "delete": "__all__"
}

It will also be supporting allow_delete_all kwarg just like allow_remove_all

Another idea: Make __all__ value configurable through global django-restql settings

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

No branches or pull requests

1 participant