You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There can be only one directive named "@aws_iam".
There can be only one directive named "@aws_api_key".
There can be only one directive named "@aws_oidc".
You're are prepending the AWS_TYPES to the schema which is fine if you don't have these types defined in your schema. However if you have lint on your schema you will have errors if you don't define the AWS_TYPES. Can you make including types optional or remove them.
You should not add those declarations in your schema, they are internal to AppSync and should not be uploaded.
I understand that you're doing this for lining purposes.
I also add them in the schema to validate them, then I remove them (They never hit AppSync).
I'd try to see if you can configure your linter to use external declarations somewhere.
Hey there
I am using app-sync directives inside my graphql schema
However when I upload this using the serverless framework I am getting error
This used to work with the previous v1. Do you have an idea what the problem might be
The text was updated successfully, but these errors were encountered: