spring-projects / spring-data-mongodb

Provides support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-mongodb/
Apache License 2.0
1.59k stars 1.07k forks source link

Fix id conversion for fields of complex id. #4719

Closed christophstrobl closed 3 weeks ago

christophstrobl commented 4 weeks ago

This PR fixes an issue where the property type for nested fields of an complex id is not handed over correctly leading to wrong conversion results eg. for Instant types that got then turned into ObjectIds.

Closes: #4707

mp911de commented 3 weeks ago

That's merged, polished, and backported now.