Returned when a field has an invalid value.

interface GraphQLInvalidFieldError {
    allowedValues?: any[];
    code: "InvalidField";
    field: string;
    invalidValue: any;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

allowedValues?: any[]

Fixed set of allowed values for the field, if any.

code: "InvalidField"
field: string

Name of the field with the invalid value.

invalidValue: any

Value invalid for the field.

Generated using TypeDoc