inrupt / inrupt/solid-client-js

Support for adding Collections to Things

Open
#1,648 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
245
Forks
42
Avg merge
12h 49m
Merged PRs (30d)
22

Description

Search terms you've used

Collection, Container, Seq

Feature suggestion

I'd like a set of functions (eg, addListToThing and removeListFromThing) that let me add collections to Things. The @rdfdev/collections library has a good set of functions for doing this with the lower level RDF abstractions, but it doesn't play especially nicely with the solid-client Resource and Thing abstractions

Use Cases

I'd like to be able to convert a JavaScript object to a pure-RDF format rather than serializing to JSON and storing as a string. The JSON for note bodies in Mysilio Garden is becoming prohibitively large and we'd like to be able to take advantage of the PATCH support built in to Solid servers to optimize this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing solid-client Resource and Thing abstractions, then compare their collection-handling needs with the functions provided by @rdfdev/collections. Done should include a decided set of collection operations that works with Thing objects and supports converting JavaScript object data into pure RDF for Solid PATCH updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.