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
In the current situation, directives can only be passed at the top-level query. However in practice, https://graphql.org/learn/queries/#directives shows clearly that directives can be used for any field of the gql query.
I would propose, during serialisation of the gql query, to check for
typeDirectiveinterface {
Directive() string
}
for every type, and, if the interface is fulfilled, add the directive to the query.
The text was updated successfully, but these errors were encountered:
In the current situation, directives can only be passed at the top-level query. However in practice, https://graphql.org/learn/queries/#directives shows clearly that directives can be used for any field of the gql query.
I would propose, during serialisation of the gql query, to check for
for every type, and, if the interface is fulfilled, add the directive to the query.
The text was updated successfully, but these errors were encountered: