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

DATAMONGO-2460 - Fix target type computation for complex id properties with @Field annotation. #830

Closed
wants to merge 2 commits into from

Conversation

christophstrobl
Copy link
Member

We now set the target type to org.bson.Document for id properties annotated with @Field having the implicit target type derived from the annotation.
Along the lines we fixed warning when an id property with explicit (unsupported) field name is detected.

…s with @field annotation.

We now set the target type to org.bson.Document for id properties annotated with @field having the implicit target type derived from the annotation. Along the lines we fixed warn message when an id property with explicit (unsupported) field name is detected.
mp911de pushed a commit that referenced this pull request Feb 3, 2020
…s with @field annotation.

We now set the target type to org.bson.Document for id properties annotated with @field having the implicit target type derived from the annotation. Along the lines we fixed warn message when an id property with explicit (unsupported) field name is detected.

Original pull request: #830.
mp911de added a commit that referenced this pull request Feb 3, 2020
Reformat code. Use diamond syntax.

Original pull request: #830.
mp911de pushed a commit that referenced this pull request Feb 3, 2020
…s with @field annotation.

We now set the target type to org.bson.Document for id properties annotated with @field having the implicit target type derived from the annotation. Along the lines we fixed warn message when an id property with explicit (unsupported) field name is detected.

Original pull request: #830.
mp911de added a commit that referenced this pull request Feb 3, 2020
Reformat code. Use diamond syntax.

Original pull request: #830.
@mp911de
Copy link
Member

mp911de commented Feb 3, 2020

That's merged, polished, and backported now.

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.

2 participants