Skip to content

"Should have been validated before" error being thrown on a NonNull input value #3631

@justinsumida

Description

@justinsumida

We recently upgraded to GraphQL-Java 21.3 and are getting a new error: "Internal error: should never happen: Should have been validated before."

The error is cropping up on a mutation that looks something like this:

mutation foo { namespaceMutation(xyz...) { mutationFunc(input: {args: .....}) } }

our input looks something like
{
arg1: []
arg2: ID!
}

We only are seeing this error on inputs. I'm not sure why we are not getting the normal coerced null error.

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