-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested Cbor Tags are not unmarshalled properly #13
Comments
It works fine for top level tags, i.e. |
Just to give a quick update: yes, I saw the issue :) I have a couple more unit tests staged, but haven't gotten to the bottom of the problem yet. Sorry, it's been a real wild week. Trying to schedule a block of time to make sure I can knock it out tomorrow. |
I think I made a fixture that's almost the same and that test seems to pass. Can you spot where we've diverged? I tried to replicate your setup but admittedly without recursing to look up too many files. |
I think this can be closed, this was due to other issues, thanks for checking. |
Something strange is going on when trying to unmarshal cbor tags that are nested. Object in question can be found here: https://github.com/ipfs/go-ipld-cbor/blob/refmt/node_test.go#L124-L133
The byte code looks fine
Diagnostic view from cbor.me
But after unmarshalling this is what I get as json representation:
original
after roundtrip
The text was updated successfully, but these errors were encountered: