inrupt / inrupt/solid-client-js

Use n3-patch for patching

Open
#2,261 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

Currently the library uses sparql-update for patching, which solid servers are not required to support. Only n3-patch is required by the specification.

Hence, it would be great if solid client uses n3-patch for patch requests.

https://github.com/inrupt/solid-client-js/blob/2366f8b3041248e8f620325e9646568981c92d3b/src/resource/solidDataset.ts#L365

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 in src/resource/solidDataset.ts at the linked code around line 365 and trace how patch requests are constructed. Confirm which existing tests cover patching and update the request path so it uses n3-patch rather than sparql-update; done means Solid servers requiring n3-patch can accept the request.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.