ipld / ipld/libipld

Make trait for Schema's without being tied to DagCbor

Open
#162 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
150
Forks
41
PR merge metrics
No merged PRs in 30d

Description

As far as I can tell the only code in this library related to schemas is directly tied to the DagCbor codec. As far as I understand, there is no fundamental reason these things should be tied together as Schemas are related to how the IPLD Data Model.

From the [IPLD Schema Docs](https://ipld.io/docs/schemas/#key-features):

> IPLD Schemas are, of course, based on IPLD. Because we get to reuse the layers of IPLD's [Data Model](https://ipld.io/docs/data-model/) and IPLD's [Codecs](https://ipld.io/docs/codecs/), IPLD Schemas are a design language that *can be used with many different serial formats.*

So disentangling the DagCbor codec from the schema implementations seems somewhat imperative if this library wants to faithfully implement the IPLD design/spec.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.