Skip to content
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

fix: schema directives validation #623

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danielfttorres
Copy link

As a see below, the @canonical directive can be used to annotate that a specific field are canonical and can be reused by an associated API.
Screenshot 2023-11-26 at 16 37 57

But when try to use @canonical directive, according to the AppSync Merged API's spec, results on:

Invalid GraphQL schema:
     Unknown directive "@canonical".

This PR fix this by adding the support for the @canonical directive.

@bboure
Copy link
Collaborator

bboure commented Feb 11, 2024

Thank you @danielfttorres
We should also add the other directives (@hidden, @renamed, etc).

@danielfttorres
Copy link
Author

Added the @hidden and @renamed directives @bboure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants