-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document: Adding custom directives #1021
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Also is there anyway to add a directive to a field via field argument? in an ObjectType definition |
This looks like directives are only supported client side and not server/query side |
Sorry for being an idiot, this was already discussed #1006 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is it possible that the documentation on writing custom directives is still missing, or I am just unable to find it? |
It is possible to pass custom directives to graphql-core but it's not documented anywhere. It should be.
@skip
and@include
and defined here: https://github.com/graphql-python/graphql-core/blob/8f7c8f3351dd0a4580b87f293aed7bfcf9126bc4/graphql/type/directives.py#L69-L98Originally raised in #1006
The text was updated successfully, but these errors were encountered: