HomeToolsAbout

Comments

What is it

Comments are non-functioning annotation on GraphQL

  • The comments describes intention or warns against misuses

Comments are surfaced to the GUI when using tools like GraphiQL, GraphQL Playground

""" this is a comment on graphql """ type Query { records: [Record] "multiple records" record(id: UUID): Record "single record" }

Also works in string

const typeDefs = gql` """ this is a comment on graphql """ type Query { records: [Record] record(id: UUID): Record } `;
AboutContact