-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decoding BSON values #20
Comments
Hi @davidbayo10 Sure. I suppose implementing BSON marshalers must be simple. Feel free to propose a PR. I just checked the bson library from MongoDB driver. It seems the provide a codec registry: I think we should create a sub-package under |
Any progression on this? If not I think I can work on an implementation since we need it as well |
please do! |
Okay so I don't fully understand how we could add support by doing this in a How big of a problem would it be if we added the UnmarshalBSON/MarshalBSON to the main package? |
Yes, i think this is the way to go. We already added some marshal/unmarshall methods. |
Hello,
I would like to know if decoding bson values from MongoDB could be a feature of this amazing lib.
error decoding key name: cannot decode string into a mo.Option[string]
I would to suggest to decode an empty string or none present key to None.
Thank you in advance.
The text was updated successfully, but these errors were encountered: