-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
None
-
None
-
Dotnet Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Once the OfType<T> operation is used subsequent LINQ operations in the query chain "detach" or "forget" how the entity is queried due to the way the MongoDB C# LINQ driver considers "OfType" to be a change in serializer.
As an example of what can go wrong: this post, `OfType` does not work with Polymorphic entities.