ipld / go-ipld-prime

Golang interfaces for the IPLD Data Model, with core Codecs included, IPLD Schemas support, and some handy functional transforms tools.
MIT License
133 stars 50 forks source link

rename and deprecate the multicodec package #259

Open mvdan opened 2 years ago

mvdan commented 2 years ago

To avoid confusing conflict with https://github.com/multiformats/go-multicodec, which came first, and really can't have another name than "multicodec". Whereas the multicodec package is a registry, so we can call it multiregistry or codecregistry.

mvdan commented 2 years ago

One more detail: we shouldn't simply move the package, as that would break downstreams immediately. We can move the package and add a "forwarding" package in the old location, forwarding the APIs, and being marked as deprecated in favor of the new one.

rvagg commented 1 year ago

turns out to be too disruptive; I'm going to say this isn't worth it, see also #467

rvagg commented 1 year ago

Reopened based on feedback @ https://github.com/ipld/go-ipld-prime/pull/467#issuecomment-1341762950 but putting this in the backlog as it's hard to justify as a priority with limited bandwidth at this stage.