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
Like the question says. I am constructing a deeply nested object using the types generated by the datamodel-code-generator. This will go into a mutation, however it generated the typename__ fields. Graphene is telling me my type doesn't have the "__typename" field. Just seems like there should be an easy default way to be able to use these generated classes for mutations too but maybe I'm not seeing it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Like the question says. I am constructing a deeply nested object using the types generated by the datamodel-code-generator. This will go into a mutation, however it generated the
typename__
fields. Graphene is telling me my type doesn't have the "__typename" field. Just seems like there should be an easy default way to be able to use these generated classes for mutations too but maybe I'm not seeing it?Beta Was this translation helpful? Give feedback.
All reactions