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
This is reproducible with the findByWithSortByScoreViaPageRequestTriggersSortingCorrectly test method for example. The problem here is that inside of the doFind method, there is no access to the sort information directly anymore. The query document seems to only contain the filter information at this point. Depending on the implementation, the sort information is available in the preparer, but it is not accessible directly because of the interface. Seems to me that some larger refactoring is necessary here and there is no way to fix this with little intrusion.
debug code, :
debug step in main branches : MongoTemplate#find
focus code:
expect
sort: { "sendTime" : -1}
but
sort: { "$or" : [{ "sendUserCode" : "aa"}, { "sendUserCode" : "bb"}]}
The text was updated successfully, but these errors were encountered: