diff --git a/strawberry_django/mutations/fields.py b/strawberry_django/mutations/fields.py index 5296cd37..5d7f5929 100644 --- a/strawberry_django/mutations/fields.py +++ b/strawberry_django/mutations/fields.py @@ -43,6 +43,8 @@ ) from typing_extensions import Literal, Self + from .types import FullCleanOptions + def _get_validation_errors(error: Exception): if isinstance(error, PermissionDenied): @@ -177,7 +179,7 @@ class DjangoMutationCUD(DjangoMutationBase): def __init__( self, input_type: type | None = None, - full_clean: bool = True, + full_clean: bool | FullCleanOptions = True, argument_name: str | None = None, key_attr: str | None = None, **kwargs,