graphql-python / gql

A GraphQL client in Python
https://gql.readthedocs.io
MIT License
1.52k stars 180 forks source link

Use of @skip and @ignore directives with gql.dsl #479

Open david-waterworth opened 3 months ago

david-waterworth commented 3 months ago

I've been composing queries with gql.dsl and need to use the @include directive in a query. Other than https://github.com/graphql-python/gql/issues/278 I don't see any reference to directives.

Are directives supported with gql.dsl and if so what's the syntax?

leszekhanusz commented 3 months ago

Directives are not currently supported with the dsl module.