Skip to content
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

Allow parsing of single Null tokens from refmt #217

Merged
merged 1 commit into from
Aug 10, 2021
Merged

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Aug 4, 2021

For blocks that are simply "null":

  • dag-cbor: 0xf6
  • dag-json: null

For blocks that are simply "null":
 * dag-cbor: 0xf6
 * dag-json: null
Copy link
Member

@willscott willscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider a fixture or test? but this seems like a pretty uncontroversial win

@rvagg
Copy link
Member Author

rvagg commented Aug 4, 2021

tests over @ https://github.com/ipld/codec-fixtures

I'm planning on attempting an auto-gen sharness version of the fixtures to run them through go-ipfs, I could also do that for here as well but it would be doubling-up since I have go-ipld-prime running them over there already

@rvagg
Copy link
Member Author

rvagg commented Aug 4, 2021

.. or we could git submodule, or wire it up into an Actions script to run on CI, or just do it manually

@willscott
Copy link
Member

as long as we monitor it somewhere and make sure it's running before releases, i'm in favor of whatever seems least complex but also won't just code-rot away.

@warpfork warpfork merged commit 8ef23e5 into master Aug 10, 2021
@warpfork warpfork deleted the rvagg/null-tok branch August 10, 2021 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants