-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
(This issue was extracted from hyphacoop/dasl-testing#10)
A potential spec change for DRISL would be to mandate that decoders convert CBOR's undefined to their programming language's representation of null.
For
- Most decoders in the ecosystem already do this, across languages like JS and Go (ref)
- It's required to decode historical objects (ref)
- Decoders outside of the ecosystem (general CBOR) do this, not just in dag-cbor (ref)
Against
- It makes decoders less strict
- It makes decoding and encoding asymmetric (since emitting undefined is banned)
- It's not in the original dag-cbor spec
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working