Closed
Description
Bartłomiej Mazur opened DATAMONGO-2044 and commented
Currently code in MongoTemplate only checks if object is an array, but does not check if it is iterable like name is suggesting as it does check if class name of object is inside list that contains class names of iterator, collection and list interfaces - and interface can't be class of object.
That list should be removed and method changed to simple instanceof check. Or just removed.
Referenced from: pull request #590
1 votes, 2 watchers