diff --git a/strawberry_django/type.py b/strawberry_django/type.py index 2f0a93b0..5b1ec103 100644 --- a/strawberry_django/type.py +++ b/strawberry_django/type.py @@ -488,6 +488,7 @@ def interface( field_cls: Type[StrawberryDjangoField] = StrawberryDjangoField, description: Optional[str] = None, directives: Optional[Sequence[object]] = (), + disable_optimization: bool = False, ) -> Callable[[_T], _T]: """Annotates a class as a Django GraphQL interface. @@ -511,6 +512,7 @@ def wrapper(cls: _T) -> _T: is_interface=True, description=description, directives=directives, + disable_optimization=disable_optimization, ) return wrapper