mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-23 05:16:05 +03:00
14 lines
134 B
GraphQL
14 lines
134 B
GraphQL
|
schema {
|
||
|
query: Query
|
||
|
mutation: Calc
|
||
|
}
|
||
|
|
||
|
type Calc {
|
||
|
sum(x: Int, y: Int): Int
|
||
|
}
|
||
|
|
||
|
type Query {
|
||
|
echo(message: String): String
|
||
|
}
|
||
|
|