console/packages/libraries/cli/examples/single.with.mutation.graphql

20 lines
258 B
GraphQL
Raw Normal View History

type Query {
foo: Int!
bar: String
test: String
last: Boolean
fooTwo: Int!
}
type Mutation {
addFooAnother(foo: Int!): Int!
addBar(bar: String): String
addTest(test: String): String
}
schema {
query: Query
mutation: Mutation
}
# test 3