inrupt / inrupt/solid-client-js
Expose ParserOption on more places
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 245
- Forks
- 42
- Avg merge
- 12h 49m
- Merged PRs (30d)
- 22
Description
Search terms you've used
- ParserOption
- getSolidDatasetWithAcl
Bug description
It is currently not possible to add parser options when getting a solid dataset with acl.
This is problematic when the resource is not text/turtle but something like application/trig.
Expected result
getSolidDatasetWithAcl returns the expected dataset with acl options without crashing.
Actual result
getSolidDatasetWithAcl crashes with a parse error.
Additional information
Note that I don't expect the solid-client to handle graphs correctly, as I understand it no graphs are introduced anywhere.
My use case is to use this function to get and update the acl files for a trig resource.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting getSolidDatasetWithAcl and the existing ParserOption usages. Reproduce the parse error with an application/trig resource, then check the related dataset and ACL retrieval paths. Done means getSolidDatasetWithAcl accepts parser options and returns the expected dataset with ACL options without crashing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, authorization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100