Open danielfttorres opened 10 months ago
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.
@canonical
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.
Thank you @danielfttorres We should also add the other directives (@hidden, @renamed, etc).
@hidden
@renamed
Added the @hidden and @renamed directives @bboure.
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.But when try to use
@canonical
directive, according to the AppSync Merged API's spec, results on:This PR fix this by adding the support for the
@canonical
directive.