Returned when a value is not defined for a required field.

interface GraphQLRequiredFieldError {
    code: "RequiredField";
    field: string;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

Properties

code: "RequiredField"

One of the error codes that is listed on the Errors page.

field: string

Name of the field missing the value.