RUST-1110 bson::to_vec fail to serialize any Serialize
#357
Labels
tracked-in-jira
Ticket filed in Mongo's Jira system
Serialize
#357
When trying to serialize
Serialize
object usingbson::to_vec
it gets toupdate_element_type
which returns an error if the top level object is notElementType::EmbeddedDocument
if matches!(t, ElementType::EmbeddedDocument) {
Is there a reason for this limitation? I tested the code without this check and it works.
The text was updated successfully, but these errors were encountered: