zazuko / rdf-validate-shacl

Validate RDF data purely in JavaScript. An implementation of the W3C SHACL specification on top of the RDFJS stack.
MIT License
95 stars 12 forks source link

fix: use RDF/JS core API #94

Closed tpluscode closed 2 years ago

tpluscode commented 2 years ago

re https://github.com/zazuko/shacl-playground/issues/32

The validator uses a .length property which is not part of the DatasetCore interfaces but only exists on rdf-ext's dataset. Since that package is not used in the playground, the target node was not being found

Unfortunately I did not see a simple way to modify tests. Removing rdf-ext altogether is an option but it is used in many places

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 1836b6e49d551d3011e4050909bc3b54b49eabb9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------ | ----- | | rdf-validate-shacl | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR