-
-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Description
Hi
Most classes have good descriptions and examples. But GraphQLDirective doesn't include any examples. Therefore, there was a difficulty in how to use it?
test = GraphQLDirective(name='test', locations=[DirectiveLocation.QUERY])
schema = GraphQLSchema(query=query, types=[demo_type], directives=[test])
How to apply test directive to query type?
Metadata
Metadata
Assignees
Labels
No labels