colin
07/20/2021, 6:44 PM// schema.graphql
# An object with an ID to support global identification.
interface Node {
id: ID!
}
// AppSync Schema
interface Node {
id: ID!
}
I know AWS doesnt support the normal graphql commenting spec 🙄 but I was under the impression we could use single line comments via the above method. See https://github.com/aws/aws-appsync-community/issues/38Frank
#
comments works? Maybe give that a try?Phil Astle
07/21/2021, 8:36 AMtype AppointmentReason {
"The ID of the appointment reason"
id: String
"The background colour of the diary listing for the appointment"
colour: String
"Whether the appointment reason is visible or not"
deleted: Boolean
"If the appointment is a dental appointment, default false"
exam: Boolean
"If the appointment is a hygienist appointment, default false"
hygiene: Boolean
"Position of the appointment reason in the appointment reason list"
position: Int
"The reason for the appointment"
reason: String
}
I've been declaring mine using gql and Apollo though.