Skip to content

Commit

Permalink
fix async loading external references
Browse files Browse the repository at this point in the history
  • Loading branch information
s-tittel committed Aug 2, 2024
1 parent 159c8a1 commit e7e1758
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Class hierarchies can be built using `rdfs:subClassOf` or `skos:broader`.
### Validation
In edit mode, `<shacl-form>` validates the constructed data graph using the library [shacl-engine](https://github.com/rdf-ext/shacl-engine) and displays validation results as icons next to the respective form fields.
In edit mode, `<shacl-form>` validates the constructed data graph using the library [rdf-validate-shacl](https://github.com/zazuko/rdf-validate-shacl) and displays validation results as icons next to the respective form fields.
### Data graph binding
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ulb-darmstadt/shacl-form",
"version": "1.5.0",
"version": "1.5.1",
"description": "SHACL form generator",
"main": "dist/form-default.js",
"module": "dist/form-default.js",
Expand Down
4 changes: 2 additions & 2 deletions src/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class Loader {
}
}
try {
await Promise.all(promises)
await Promise.allSettled(promises)
} catch (e) {
console.warn(e)
}
Expand Down Expand Up @@ -106,7 +106,7 @@ export class Loader {
})
})
try {
await Promise.all(dependencies)
await Promise.allSettled(dependencies)
} catch (e) {
console.warn(e)
}
Expand Down

0 comments on commit e7e1758

Please sign in to comment.