Here's the ticket for the new spec: graphql/graphql-spec#418
It allows the schema to be defined like this:
type Query {
field(arg: Int! = 0): Int
}
For the example above, if you don't provide arg in the query, graphiql will consider the query invalid.
Here's the ticket for the new spec: graphql/graphql-spec#418
It allows the schema to be defined like this:
For the example above, if you don't provide
argin the query, graphiql will consider the query invalid.