ipld / ipld/js-ipld-schema

Error: Unsupported map representation "stringpairs"

Open
#72 3 comments 0 reactions 1 assignee Claimed by @rvagg View on GitHub
Dominant language
JavaScript
Stars
17
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I was attempting to use the [stringpairs](https://ipld.io/docs/schemas/features/representation-strategies/#map-stringpairs-representation) representation for a schema, but got an error when trying to pass it to the `create()` function in `typed.js`.

Here's the schema I used:

```ipld-schema
type Example {String:String} representation stringpairs {
entryDelim ","
innerDelim " "
}
```

Did I do something wrong? It appears as though `typed.js` just doesn't support this functionality.

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.