We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tomasz Nurkiewicz opened DATAMONGO-1902 and commented
Having the following classes:
@Document class Parent { int id; Child child; } class Child { String name; }
Spring Data always produces the following document:
{ "id": 1, "child": { "name": "Foo" } }
It would be nice to have an annotation like @Embeddable so that the document looks like this:
@Embeddable
{ "id": 1, "name": "Foo" }
NB: what about naming conflicts if both Parent and Child contain the same field
Parent
Child
Issue Links:
@Embedded
Referenced from: pull request #896
1 votes, 2 watchers
The text was updated successfully, but these errors were encountered:
bd985a6
Polishing.
f3d6f40
Reorder API methods, remove unused MongoPersistentProperty.isNullable method, reduce visibility where possible. Add Javadoc and tweak documentation wording. Introduce DotPath utility to abstract dot path concatenation. See #2803. Original pull request: #896.
christophstrobl
Successfully merging a pull request may close this issue.
Tomasz Nurkiewicz opened DATAMONGO-1902 and commented
Having the following classes:
Spring Data always produces the following document:
It would be nice to have an annotation like
@Embeddable
so that the document looks like this:NB: what about naming conflicts if both
Parent
andChild
contain the same fieldIssue Links:
@Embedded
value objectsReferenced from: pull request #896
1 votes, 2 watchers
The text was updated successfully, but these errors were encountered: