You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]The createQueryFor(predicate) Method in QuerydslMongoPredicateExecutor Converts Query Conditions with Nested Objects Containing ObjectId() to Strings[/-][+]`SpringDataMongodbQuery` and `SpringDataMongodbSerializer` apply mapping twice[/+]on May 28, 2024
SpringDataMongodbSerializer used via QuerydslMongoPredicateExecutor applies field name customization twice. The resulting query above (used with the QueryMapper) is embedded_object._id while it should be embeddedObject.id. Removing field name mapping in SpringDataMongodbSerializer seems not enough as other components break.
Activity
[-]The createQueryFor(predicate) Method in QuerydslMongoPredicateExecutor Converts Query Conditions with Nested Objects Containing ObjectId() to Strings[/-][+]`SpringDataMongodbQuery` and `SpringDataMongodbSerializer` apply mapping twice[/+]mp911de commentedon May 28, 2024
SpringDataMongodbSerializer
used viaQuerydslMongoPredicateExecutor
applies field name customization twice. The resulting query above (used with the QueryMapper) isembedded_object._id
while it should beembeddedObject.id
. Removing field name mapping inSpringDataMongodbSerializer
seems not enough as other components break.Apply type conversion to id types.
Polishing.
Polishing.
Apply type conversion to id types.
Polishing.
Apply type conversion to id types.