Open alkampfergit opened 1 year ago
Actually there is probably a bug in the new mongodb driver that does not allow registring own ObjectSerializer, because in the LINQ3 provider (LINQ2 is fine) there is an hard cast to MongoDb driver own implementation of ObjectSerializer, I've opened a bug in mongo C# library.
It looks like this is the same issue as #3975. I'll close the other one since you provided a PR associated with this issue.
Upgrading to latest mongodb driver required by Elsa 2.11 we have problem due to the new LINQ3 provider of 2.19 version of MongoDB C# drivers that is causing serious regressions in the provider. See here to view one of the complaint
Due to this bug actually elsa persistence layer does not work anymore throwing exceptions.
Actually to solve the problem we need to let the user to choose to default to old LINQ2 provider and migrate to LINQ3 provider once it will be stable.