[GODRIVER-2428] Add support for keys implement TextMarshaler & TextUnmarshaler from MapCodec Created: 18/May/22 Updated: 01/Jun/22 Resolved: 18/May/22 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.10.0, 1.10.0-beta1 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Preston Vasquez | Assignee: | Preston Vasquez |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
Allow encoding atypical map key types, such as a `struct`, for data that implements encoding.TextMarshaler. That is, such types can unmarshal into a textual representation of themselves. |