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 conversion of regular expression targeting id properties in queries #4718

Closed christophstrobl closed 3 weeks ago

christophstrobl commented 4 weeks ago

This commit fixes an issue where patterns targeting id properties might have been falsely converted into the properties type, turning a Pattern into its String representation.

Closes: #4674

mp911de commented 3 weeks ago

That's merged, polished, and backported now.