Skip to content

Warn on duplicate collection, file, and field names in config #1035

@erquhart

Description

@erquhart

- Do you want to request a feature or report a bug?

bug

- What is the current behavior?

Config keys that are assumed unique are not validated for uniqueness, so unpredictable failures take place when multiple same-named keys exist where they shouldn't.

- What is the expected behavior?

If keys that must be unique are not, an error message should be generated and Netlify CMS should not load.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions