[JAVA-4587] Support setting the default UUID representation for BasicBSONEncoder and BasicBSONDecoder Created: 21/Apr/22 Updated: 28/Oct/23 Resolved: 29/Apr/22 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | BSON, Legacy API |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Documentation Changes: | Not Needed |
| Description |
|
Both BasicBSONEncoder and BasicBSONDecoder assume a UuidRepresentation of JAVA_LEGACY in a way that is not configurable. Allow it to be configured process-wide using a static method for each class to set the default to a different UuidRepresentation. |
| Comments |
| Comment by Githook User [ 29/Apr/22 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Support global configuration of UuidRepresentation for legacy codec (#925) Both BasicBSONEncoder and BasicBSONDecoder assume a UuidRepresentation of
|