graphql-php/examples/02-shorthand/schema.graphqls
2017-07-10 21:14:34 +01:00

14 lines
134 B
GraphQL

schema {
query: Query
mutation: Calc
}
type Calc {
sum(x: Int, y: Int): Int
}
type Query {
echo(message: String): String
}