CenterForDigitalHumanities / CenterForDigitalHumanities/deer

Save Simple Array Values

Open
#125 0 comments 0 reactions 0 assignees View on GitHub
OSS
Dominant language
JavaScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Sometimes we just want to save an array of things as the value for an input (ex. a Multi Select). Instead of making a List or a Set, it should be like

```
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"@id": "https://devstore.rerum.io/v1/id/65035e833e3748bad735fe00",
"@type": "Annotation",
"body": {
"references": {
"value": [
"https://devstore.rerum.io/v1/id/614cf580e74876243131a620"
]
}
},
"target": "https://devstore.rerum.io/v1/id/65035e820a269d63c513df10"
}
```

We have support for a `deer-input-type` attribute that knows what to do with Lists and Sets, let's make one for SimpleArray

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.