Closed renevoorburg closed 1 month ago
I have a working prototype of this locally, but noticed that the validation library used by this project struggles with the same problem. FYI, here's the issue: https://github.com/zazuko/rdf-validate-shacl/issues/136
The issue has been closed and I think v1.4.9 should work. Could you give it try?
The ""InternalError: too much recursion." is fixed for us now. Thanks!
The data-values I have been trying to load contains constructs like
Loading this data causes an error, "InternalError: too much recursion."
A way to deal with that would be to preprocess the data on our side, keeping only the "isPartOf" references (or the other way around), before trying to load it in shacl-form.
However, I think, ideally it would be nice if shacl-form handled situations like these in a more elegant way. Maybe the simplest approach would be that it recognized a reference to an object already loaded and just mention that in the form, without recursively (re-) displaying all the form fields for it.