graphql-php/examples/02-shorthand/schema.graphqls

14 lines
134 B
GraphQL
Raw Normal View History

2017-07-07 22:26:01 +03:00
schema {
query: Query
mutation: Calc
}
type Calc {
sum(x: Int, y: Int): Int
}
type Query {
echo(message: String): String
}