strawberry-django icon indicating copy to clipboard operation
strawberry-django copied to clipboard

Add batch mutation for update and delete operation

Open Hnagzhi opened this issue 8 months ago • 1 comments

Description

Even though batch creation of objects was already implemented a while ago (see https://github.com/strawberry-graphql/strawberry-graphql-django/issues/3), it is still not possible to update/delete objects in a batch.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

Hnagzhi avatar Dec 09 '23 14:12 Hnagzhi

Hey @Hnagzhi ,

Actually it is possible, you should use filters in the mutation as is explained here: https://strawberry-graphql.github.io/strawberry-graphql-django/guide/mutations/#filtering

Looking at the doc now I understand that it can be confusing and should be improved =P

bellini666 avatar Dec 09 '23 16:12 bellini666