Skip to content

What if there's a "field error" during serial execution? #277

Closed
@rmosolgo

Description

@rmosolgo

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions