Returned when a field value conflicts with an existing value causing a duplicate.

interface GraphQLDuplicateFieldError {
    code: "DuplicateField";
    duplicateValue: any;
    field: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

code: "DuplicateField"
duplicateValue: any

Conflicting duplicate value.

field: string

Name of the conflicting field.

Generated using TypeDoc