[GODRIVER-2712] Deprecate "bson.New*WithContext" and "Encoder/Decoder.SetContext" Created: 22/Dec/22 Updated: 28/Oct/23 Resolved: 12/Apr/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 1.12.0 |
| Type: | Improvement | 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 | ||
| 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 |
|
There are too many ways to configure a bson.Encoder and bson.Decoder to get the exact same behavior. We're planning to remove all usages of the EncodeContext and DecodeContext from the standard user configuration of the bson.Encoder and bson.Decoder types. All configuration will be done via the configuration methods on the bson.Encoder and bson.Decoder types. Definition of done:
|
| Comments |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Matt Dale [ 08/Apr/23 ] |