edelweiss
edelweiss copied to clipboard
Decentralized Protocol Compiler
## Problem The specification we've cleaned up in https://github.com/ipfs/specs/pull/326 states that the value from `?q=value` is percent-encoded DAG-JSON. Turns out the [edelweiss](https://github.com/ipld/edelweiss) uses percent-encoded CBOR. Example: - `pd8 "github.com/ipld/go-ipld-prime/codec/dagcbor"` (and...
## Bug > Ive tried hard coding and sending the data I get when pinging `https://cid.contact/reframe?q=%A1tFindProvidersRequest%A1cKey%D8%2AX%23%00%12+%D56%5C%E5%8Bc%8D%1Fs%AC%95%1B%F5C%40Q%08%A5%02%B0DV%B3t%5B%B6%14%D5%BB%A5%E9%B61`, but running `ipfs routing findprovs ` doesnt seem to work (Kubo 0.16 cant find...
Instead of returning a channel for async methods, we should use iterators to avoid goroutines chains when using the API. We see a goroutine chain when we want to transform...
Edelweiss type String definitionally holds valid Unicode strings only, and encodes/decodes them from IPLD strings with valid UTF8 encodings. However, there may be pre-existing IPLD schemas that place non-UTF8 byte...
Detailed presentation(s) of MVP to serve as interim documentation, as well as user and developer onboarding. To include: - user-facing aspects: types, definitions, encoding/decoding formats, code generation - developer-facing aspects:...
Improves readability if generated code. E.g. if importing "github.com/foo/bar", alias it as "barXXX" where XXX is a number if multiple imported packages share the same name.
Add tests for the corner cases of generating "empty" types where it applies: - structure with no fields - inductive with no cases - union with no cases - service...
Implement support for: - [ ] Named{Builtin{}} - [ ] Named{Named{...}} - [ ] Named{Ref{...}}
Non-parametric values: - [x] bool - [ ] test - [x] byte - [ ] test - [x] char - [ ] test - [x] int - [ ] test...