Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate unique field names #1557

Open
Bilge opened this issue Feb 1, 2017 · 0 comments
Open

Validate unique field names #1557

Bilge opened this issue Feb 1, 2017 · 0 comments

Comments

@Bilge
Copy link
Contributor

Bilge commented Feb 1, 2017

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.

@alcaeus alcaeus added this to the 2.0.0 milestone Oct 1, 2017
@malarzm malarzm modified the milestones: 2.0.0, 2.x Mar 14, 2018
@alcaeus alcaeus removed this from the 2.x milestone Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants