solid-client-js
solid-client-js copied to clipboard
Expose ParserOption on more places
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.
Hello @ajuvercr , thanks for opening (and proposing a fix) for this! I'll review the PR right away, sorry for the delay.