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
How do we include custom schema directives in Config/apollo.ts ?
Config/apollo.ts
I'd like to implement them like below:
const config: ApolloConfig = { schemas: 'app/Schemas', resolvers: 'app/Resolvers', directives: 'app/Directives', // <- custom schema directives // and rest properties... }
The text was updated successfully, but these errors were encountered:
could you point to the documentation about how to set directives in apollo server?
Sorry, something went wrong.
It can be found on this page of Apollo Docs:
https://www.apollographql.com/docs/apollo-server/schema/directives/#using-custom-schema-directives
Maybe we can use mergeDirectives method inplemented in @graphql-tools/merge:
mergeDirectives
@graphql-tools/merge
https://www.graphql-tools.com/docs/api/modules/merge#mergedirectives
Hi! Any news on this? Or at least a workaround that allows adding a custom directive?
Thanks!
No branches or pull requests
How do we include custom schema directives in
Config/apollo.ts
?I'd like to implement them like below:
The text was updated successfully, but these errors were encountered: