Skip to content

Validate unique field names #1557

Open
Open
@Bilge

Description

@Bilge

The schema validator seems like a cool new feature, but it could be more useful if it validates that field names do not conflict (are unique). This can't occur when names are inferred from PHP field names since PHP guarantees field names are unique for a given class, but when making use of the name attribute it is possible to have unexpected collisions, which ODM currently ignores.

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