Skip to content

update merkeldag to use the explicit decoder registry#104

Merged
willscott merged 4 commits intomasterfrom
feat/legacy-decoder
Jun 9, 2023
Merged

update merkeldag to use the explicit decoder registry#104
willscott merged 4 commits intomasterfrom
feat/legacy-decoder

Conversation

@willscott
Copy link
Copy Markdown
Contributor

Update the interface of go-ipld-legacy to reflect the change in ipfs/go-ipld-legacy#12

There is no breaking interface change in this update.

will wait until v0.2.0 of legacy is tagged and then use that version as the dependency here.

needs the equivalent update in the boxo fork of this repo i think.

@willscott willscott requested a review from rvagg May 30, 2023 15:06
@welcome

This comment was marked as resolved.

Copy link
Copy Markdown
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

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

very nicely nonbreaking
👍 when the version is bumped and go mod is tidied

@willscott
Copy link
Copy Markdown
Contributor Author

@aschmahmann should i wait to merge this to stay in sync with the variant you're working on in boxo?

@aschmahmann
Copy link
Copy Markdown

aschmahmann commented May 31, 2023

Up to you. Might be easier in case we find any other oddities along the way. Sorry I'm the slow leg here, plan is to get the next round of everything bubbled up today for people to test with tomorrow.

However, if you don't want things to exactly match anymore that's ok too. e.g. if boxo adds a setter for the registry and you don't want to.

@willscott
Copy link
Copy Markdown
Contributor Author

ending up with 2 variants of this code with slightly different semantics so that it's harder to migrate seems worse than keeping them in sync

@willscott
Copy link
Copy Markdown
Contributor Author

@aschmahmann - this should now include #105 and matches what's in boxo

Comment thread merkledag.go Outdated
@willscott willscott merged commit bb9deca into master Jun 9, 2023
@willscott willscott deleted the feat/legacy-decoder branch June 9, 2023 14:46
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