Skip to content

CBOR: $type is missing? #1290

Discussion options

You must be logged in to vote

Check out the Event Stream specs, they talks about the use of t in DAG-CBOR objects returned in the frame header DAG-CBOR object: https://atproto.com/specs/event-stream#framing

In short, the t field indicates the union type variant of the payload, as a short ref (like #commit), not a fully-qualified type path like a $type field would have.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@dongle-the-gadget
Comment options

Comment options

You must be logged in to vote
3 replies
@dongle-the-gadget
Comment options

@bnewbold
Comment options

@dongle-the-gadget
Comment options

Answer selected by bnewbold
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants