-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
In order to ease and encourage the usage of serde models in the driver, Database::collection and Database::collection_with_options will be updated to return Collection<T> instead of Collection<Document>.
This is a breaking change for users of Collection<Document> which will require them to manually specify the generic type.
As part of this change, the default generic type of Collection will be removed.