spring-data-mongodb
spring-data-mongodb copied to clipboard
Fix missing query options when calling MongoTemplate#findAndModify
Forward maxTimeMsec from Query to FindOneAndUpdateOptions.
Closes #4776
Thank you @sriram-1729 for taking the time to create this PR.
The signature change of doFindAndModify may cause trouble for people upgrading. I'm not sure if there's away around this change. Need to have a closer look.
Hello @christophstrobl! In case the method signature change is allowed, should I keep the changes minimal, or can I make further modifications to remove redundant arguments?