Closed SteelPhase closed 6 years ago
Hi @SteelPhase
I'm up for this - I can see how it might help the users of bson.Raw
building APIs etc and it's totally opt-in - other users don't pay a performance overhead for this added functionality - good idea!
We're pretty strict on tests for maintainability though, would you mind adding a couple for this? A happy-path test and a couple edge cases, preferably table driven?
Thanks for the PR! Dom
Yeah. i'll look into adding tests.
Hi @SteelPhase
I'm going to close this because it's been a couple months - we'll still happily accept it if you have the time to add tests though.
Dom
This resolves globalsign/mgo#107 using the example provided in the issue.