_examples/uuid/graph/schema.graphqls (21 lines of code) (raw):
# GraphQL schema example
#
# https://gqlgen.com/getting-started/
type Todo {
id: ID!
text: String!
done: Boolean!
uid: UUID!
}
type Query {
todos: [Todo!]!
}
input NewTodo {
text: String!
userId: String!
uid: UUID!
}
type Mutation {
createTodo(input: NewTodo!): Todo!
}
scalar UUID