strawberry-graphql / strawberry-django

Strawberry GraphQL Django extension
https://strawberry.rocks/docs/django
MIT License
409 stars 118 forks source link

feat: Enforce validation for updating nested relations #405

Closed tokr-bit closed 11 months ago

tokr-bit commented 11 months ago

Description

If nested one to many / many to many relations are updated, a full_clean is performed on the object to be updated. This ensures that Validators are actually executed.

Types of Changes

Issues Fixed or Closed by This PR

398

Checklist