[GODRIVER-2706] Deprecate the "bsonoptions" package Created: 21/Dec/22 Updated: 28/Oct/23 Resolved: 24/May/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.12.0 |
| Type: | Task | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Matt Dale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | Go Driver 2.0 Prep | ||||||||||||
| Quarter: | FY24Q1 | ||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||||||
| Description |
|
Currently the bsonoptions package is used exclusively to define configuration options for types and functions in the bsoncodec package. Those options structs are almost exact duplicates of most of the *Codec structs. Note that deprecating those options depends on being able to override the default behavior via the bson.Encoder and bson.Decoder types, which is implemented in Definition of done:
|
| Comments |
| Comment by Githook User [ 24/May/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Matt Dale [ 17/May/23 ] |