We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need a way to declare custom directives.
@key (fields: ...) @external @requires(fields: ...)
for reference this is how some of graphql-python's directives are declared https://github.com/graphql-python/graphql-core/blob/master/graphql/type/directives.py
The text was updated successfully, but these errors were encountered:
I'd be willing to look into this
Sorry, something went wrong.
@Kerl1310 nice! this seems to be a non easy task, so happy to see someone wanting to contribute :)
I was trying to create directives for apollo federation here: #115
but I noticed that graphql-core doesn't support server directives, so I think we'd need to extend graphql-core for that
Support for schema directives has been available for quite a while now: https://github.com/strawberry-graphql/strawberry/blob/master/CHANGELOG.md#0140---2019-08-14
We also have experimental support for federation, so I think we can close this issue.
No branches or pull requests
I need a way to declare custom directives.
@key (fields: ...)
@external
@requires(fields: ...)
for reference this is how some of graphql-python's directives are declared
https://github.com/graphql-python/graphql-core/blob/master/graphql/type/directives.py
The text was updated successfully, but these errors were encountered: