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
Hi @eamigo86, what is the purpose of returning "return cls(**resp)" in the perform_mutate method of the DjangoSerializerMutation class? If we simple return "resp" itself we gain the ability to directly get the object that is created as a result of the Mutation.
If we do not change this, how can we get the created object while we are still in the Mutation we subclassed from DjangoSerializerMutation?
Hi @eamigo86, what is the purpose of returning "return cls(**resp)" in the perform_mutate method of the DjangoSerializerMutation class? If we simple return "resp" itself we gain the ability to directly get the object that is created as a result of the Mutation.
If we do not change this, how can we get the created object while we are still in the Mutation we subclassed from DjangoSerializerMutation?
Exact location:
graphene-django-extras/graphene_django_extras/mutation.py
Line 155 in abb5a33
The text was updated successfully, but these errors were encountered: