Returned when an AttributeEnumType or AttributeLocalizedEnumType contains duplicate keys.

interface GraphQLDuplicateEnumValuesError {
    code: "DuplicateEnumValues";
    duplicates: string[];
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

Properties

code: "DuplicateEnumValues"

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

duplicates: string[]

Duplicate keys.