Closed leftbrasil closed 1 year ago
In this case, providerType.GetMethod("Translate") returns null and providerType.GetMethods() doesn't show any "Translate" method
The problem is the MongoDb.Driver. I believe that the version 2.19.0 renamed the "Translate" method to "CreateQuery". Rolled back to version 2.18.0 of the driver and it works perfectly fine.
Hey @leftbrasil - thanks for raising this issue! Yep, that looks like an integration bug with MongoFramework and the MongoDB driver. I'm planning to do another release soon with some major changes, I'll try and get in a fix for driver 2.19.0.
I've released v0.28.0 of MongoFramework which addresses the problem with the 2.19.0 version of the driver.
Got this error using both, main and fluent-mapping branches. Could you give me a tip on what's happening?
Declared my context:
Dependency injection: