We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it expected that, with this:
await solid.data.context.extend(base_context) const resource = solid.data['https://api.coopstarter.happy-dev.fr/resources/1/']
This works:
console.log((await resource['rdf:type']).toString()); // "coopstarter:resource" console.log((await resource.resolve('["rdf:type"]')).toString()); // "coopstarter:resource" console.log((await resource.resolve('rdf_type')).toString()); // "coopstarter:resource"
But this does not:
console.log((await resource.resolve('rdf:type')).toString()); // Error
The text was updated successfully, but these errors were encountered:
Mmm, resolve is supposed to only work from the root.
resolve
BTW Thanks for filing all of these bugs; they will be investigated.
Sorry, something went wrong.
What you mean is this is supposed to work: solid.data.resolve('user.bestfriend.name')
solid.data.resolve('user.bestfriend.name')
But not this? solid.data.user.resolve('bestfriend.name')
solid.data.user.resolve('bestfriend.name')
We built our wrapper around this idea:
const resource = solid.data['someURI'] const value = resource.resolve(path)
And except for the : syntax, it works fine so far :)
:
I thought I had only programmed the first, but would indeed be nice to have both 😀
No branches or pull requests
Is it expected that, with this:
This works:
But this does not:
The text was updated successfully, but these errors were encountered: