[GODRIVER-414] Make bson.Encoder and bson.Decoder customizable Created: 09/May/18 Updated: 16/Jul/18 Resolved: 16/Jul/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | 0.0.4 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | GODRIVER BSON public API improvements |
| Description |
|
Currently, the Encoder and Decoder for the BSON library are not customizable. Because of this, it is difficult to use them as the default encoder and decoder for the driver. Design and then implement a customizable encoder and decoder that have hooks in various places for customizability. In the least, the encoder and decoder must support users handling specific types, tags, and take over the entire reflection based encoding or decoding path. |
| Comments |
| Comment by Kristofer Brandow (Inactive) [ 16/Jul/18 ] |
|
This needs to be its own epic, so this ticket has beed superseded by |