-
Notifications
You must be signed in to change notification settings - Fork 540
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error on custom (un)marshalers without a CBOR implementation.
When CBOR marshaling or unmarshaling a type that implements any of TextMarshaler, TextUnmarshaler, json.Marshaler, or json.Unmarshaler, without also implementing the corresponding CBOR interface, the proposed behavior is to automatically use the available interface method by transcoding between CBOR and JSON or text. As a safety measure, values of these types will be rejected by the CBOR serializer until that is implemented. Kubernetes-commit: 40c283908358c7af82f14ba3ea77960d5caf42d9
- Loading branch information
1 parent
4524748
commit c485170
Showing
4 changed files
with
664 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.