Skip to content
New issue

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

Cyclic references lead to "too much recursion" #136

Closed
s-tittel opened this issue Jul 10, 2024 · 3 comments · Fixed by #139
Closed

Cyclic references lead to "too much recursion" #136

s-tittel opened this issue Jul 10, 2024 · 3 comments · Fixed by #139

Comments

@s-tittel
Copy link
Contributor

s-tittel commented Jul 10, 2024

Hi and thanks for you great library.

When validating a data graph that contains cyclic references (e.g. hasPart / isPartOf relations), I get:

Uncaught (in promise) InternalError: too much recursion

Here is an example to reproduce: https://s.zazuko.com/SiL9iY

Edit: I would suggest employing a method similar to this.

@ktk
Copy link
Member

ktk commented Jul 10, 2024

Thanks for the report, pull-requests would be welcome.

You might also try out this one (not by us): https://github.com/rdf-ext/shacl-engine

@s-tittel
Copy link
Contributor Author

Could you please review the PR?

tpluscode added a commit that referenced this issue Jul 23, 2024
@s-tittel
Copy link
Contributor Author

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants