@gradientedge/commercetools-utils
    Preparing search index...

    Interface GraphQLDuplicateFieldError

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

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

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "DuplicateField"

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

    duplicateValue: any

    Conflicting duplicate value.

    field: string

    Name of the conflicting field.