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

Remove fieldName attribute in MongoDB mapping #2889

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

alanpoulain
Copy link

Since MongoDB ODM 2.0, fieldName attribute in XML mapping has been replaced by field-name:
doctrine/mongodb-odm@9ece373
In order to be able to use both 2.0 and <2.0 versions, I have removed the fieldName attribute.
It was not useful anyway since the field name is equal to the name by default.
cc @alcaeus

@alcaeus
Copy link

alcaeus commented Dec 27, 2018

I was looking at providing mapping files for ODM 1.x and 2.x simultaneously, since there are more differences than just field-name, for example how identifiers are mapped.

@XWB XWB merged commit ee76c57 into FriendsOfSymfony:master Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants