Closed
Description
PAVAN KUMAR RAYABHARAPU opened DATAMONGO-1768 and commented
MongoExampleMapper
inspects the probe type and writes type restrictions according to known types in MappingContext
. Types assignable to the probe get included in the $in
operator.
My probe type is different than the documents in the mongo collection.
Reference URL: https://stackoverflow.com/questions/45381431/mongodb-querybyexample-findone
Issue Links:
- DATACMNS-1140 Open up Query by Example to allow extension in module implementations
("depends on") - DATAMONGO-1636 Query by Example doesn't work with documents that don't have the _class column
Referenced from: pull request #496
Backported to: 1.10.7 (Ingalls SR7)