Skip to content

"id" field of embedded document is mapped to "_id" [DATAMONGO-524] #1455

@spring-projects-issues

Description

@spring-projects-issues

Simon opened DATAMONGO-524 and commented

I expected that the mapper only maps fields named id in top level documents to the _id as it is the convention for mongodb. Currently even id fields of embedded documents are mapped to _id which should not be the case (not needed). Any reasons for that or am i missing something here?


Affects: 1.0.4

0 votes, 5 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions