Is there a way to add GraphQL type descriptions to a GraphQL Schema used by AppSync?
ApolloServer and graphql-js support this with comments in the schema file (see here ). Is there something similar for AppSync so I can use GraphQL type introspection to see field descriptions?
You should be able to do this with a comment just over the type (note that it must be the line immediately before). It might look like this:
# A comment on a post.
type Comment {
id: ID!
content: String
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With