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
98 stars 13 forks source link

fix: do not fail validation for target nodes that don't exist #81

Closed martinmaillard closed 2 years ago

martinmaillard commented 2 years ago

Fixes #66

A target node that doesn't exist in the data graph at all should not cause a validation failure.

codecov-commenter commented 2 years ago

Codecov Report

Merging #81 (48ad810) into master (1523212) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #81   +/-   ##
=======================================
  Coverage   97.39%   97.39%           
=======================================
  Files          12       12           
  Lines         690      692    +2     
=======================================
+ Hits          672      674    +2     
  Misses         18       18           
Impacted Files Coverage Δ
src/shapes-graph.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1523212...48ad810. Read the comment docs.