Skip to content

Conversation

@christophstrobl
Copy link
Member

We changed the id resolution to skip properties having an explicit name set via @Field unless they are marked with @Id. This means that @Field("id") String id; will now be stored as id within MongoDB.
Prior to this change the fieldname would have been changed to _id.

thomasdarimont pushed a commit that referenced this pull request Oct 2, 2014
Added tests to ensure proper field mapping for various "id" field variants.

Original pull request: #225.
We changed the id resolution to skip properties having an explicit name set via @field unless they are marked with @id. This means that

@field(“id”) String id;

will be stored as “id” within mongodb. Prior to this change the fieldname would have been changed to “_id”.
Added tests to ensure proper field mapping for various "id" field variants.

Original pull request: #225.
christophstrobl added a commit that referenced this pull request Oct 23, 2014
We changed the id resolution to skip properties having an explicit name set via @field unless they are marked with @id. This means that

@field(“id”) String id;

will be stored as “id” within mongodb. Prior to this change the fieldname would have been changed to “_id”.
Added tests to ensure proper field mapping for various "id" field variants.

Original pull request: #225.
@odrotbohm odrotbohm closed this Nov 10, 2014
@odrotbohm odrotbohm deleted the issue/DATAMONGO-1050 branch November 10, 2014 15:18
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