Replies: 1 comment
-
Here's reference of all available visitor methods on directive: https://ariadnegraphql.org/docs/api-reference#example-schema-visitors Your directive should define custom class MyDirective(SchemaDirectiveVisitor):
def visit_input_field_definition(
self, field: GraphQLInputField, object_type: GraphQLInputObjectType
) -> GraphQLInputField:
# Do something with input's field |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Any good example how to use INPUT FIELD Directives ? i saw the documentation but the sample there is only for type field not for input field
Thanks
Beta Was this translation helpful? Give feedback.
All reactions