[GODRIVER-2709] Deprecate "DefaultValueEncoders", "DefaultValueDecoders", and "PrimitiveCodecs" Created: 22/Dec/22 Updated: 28/Oct/23 Resolved: 05/Apr/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| 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 | ||
| 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 |
|
The only known use cases for accessing all of the DefaultValueEncoders, DefaultValueDecoders, and PrimitiveCodecs types and functions is to create a default Registry of value encoders/decoders for overriding the defaults (e.g. in the mgocompat package). That can already be accomplished by calling bson.NewRegistryBuilder, so the DefaultValueEncoders and DefaultValueDecoders types and functions are redundant and create confusion with users. Definition of done:
|
| Comments |
| Comment by Githook User [ 05/Apr/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Matt Dale [ 03/Apr/23 ] |