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 though Graphene/ Graphene Django could be enough to select only field I have specified in query, However it queries all fields in database even of related models.
I have tried to improve it may be using graphene_django_optimizer.gql_optimizer package func but it does not
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
-
Hello team,
I have designed my GraphQL DTO using graphene django like this
NOTE: eventTags and eventData are relationship model, other are only fields
When I query like this
I though Graphene/ Graphene Django could be enough to select only field I have specified in query, However it queries all fields in database even of related models.
I have tried to improve it may be using graphene_django_optimizer.gql_optimizer package func but it does not
Here is how how I perform optimization
Any one have ever done optimization in Graphql to assist.
Beta Was this translation helpful? Give feedback.
All reactions