Open
Description
Hi there, we have an application that uses MongoTemplate.findAndModify
the method to update MongoDB, and I want to add bypassDocumentValidation
to the query.
However, I noticed that the FindAndModifyCallback
doesn't pass bypassDocumentValidation from the FindAndModifyOptions
to the FindOneAndUpdateOptions
. I'm wondering if there's any way to bypass document validation using MongoTemplate
?