Skip to content

Commit

Permalink
fix: Add default for new OperationMessage field
Browse files Browse the repository at this point in the history
  • Loading branch information
zvyn committed Sep 11, 2023
1 parent 64bbcec commit 5bcdebf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions strawberry_django/fields/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ class Kind(enum.Enum):
)
code: Optional[str] = strawberry.field(
description="The error code, or `null` if no error code was set.",
default=None,
)

def __eq__(self, other: Self):
Expand Down

0 comments on commit 5bcdebf

Please sign in to comment.