Closed
Description
Let's say you have a mutation type like:
type Mutation {
push(val: Int!): Int!
}
And you send a query like:
mutation {
one: push(val: 1)
thirteen: push(val: 13)
two: push(val: 2)
}
And, given the unluckiness of 13, push(val: 13)
causes an internal error, resulting a null value for that field. What should happen? Specifically:
- Should the result be
{ data: null, errors: [ /* 1 error */] }
? (Judging by "Errors and Non-Nullability", yes.) - Should
push(val: 2)
be executed? (I can't quite figure it out from "Normal and Serial Execution".)
Metadata
Metadata
Assignees
Labels
No labels