You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose to introduce a new OperationMessage.kind value: ObjectDoesNotExist.
Feature Request Type
Core functionality
Alteration (enhancement/optimization) of existing feature(s)
New behavior
Description
If an object does not exist, Django raises an ObjectDoesNotExist-exception. This is translated into an OperationMessage with the kind field being set to OperationMessage.Kind.ERROR:
I propose to introduce a new
OperationMessage.kind
value:ObjectDoesNotExist
.Feature Request Type
Description
If an object does not exist, Django raises an
ObjectDoesNotExist
-exception. This is translated into anOperationMessage
with thekind
field being set toOperationMessage.Kind.ERROR
:strawberry-django/strawberry_django/mutations/fields.py
Line 53 in 5f5aca9
However, as an API user, this value might be misleading. Therefore, I propose to introduce a new enum-Value, e.g.
ObjectDoesNotExist
.Upvote & Fund
The text was updated successfully, but these errors were encountered: