How to import AWS AppSync types and directives #1063
RadoslavMarinov
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @RadoslavMarinov, parserOptions: {
schema: [
'schema.graphql',
/* GraphQL */ `
scalar AWSDateTime
# ...
`,
],
}, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using AWS CDK to build our AppSync project. I have defined a schema file
scheam.graphql
where we utilize AWS scapar types and directives such as@aws_api_key
and@aws_subscribe
.The problem is that the graphql-eslint does not recognize these types and directives and reports errors.
Any idea how (or from where) to import the AWS AppSync schema with these directives?
Beta Was this translation helpful? Give feedback.
All reactions