-
Notifications
You must be signed in to change notification settings - Fork 150
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
Infinite loop in 4.0.3 #194
Comments
Thanks @trieloff for opening another issue. So far I have no reproduction available, I added one more test schema to my repo with a self-referencing schema simply called I need to search our repo further, hope I can distill a reproduction soon... |
Thanks Andy, as soon as you can reliably reproduce the issue I can start debugging. |
@trieloff I found a public repo of ours, which is failing, below is my PR with an install of All schemas are here: |
using the json-logic-js as a dev dependency for testing see #194
The schema loader would wrap objects that have already been wrapped again. This was especially an issue with recursive references, where it could lead to endless loops. fixes #194
🎉 This issue has been resolved in version 4.0.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thanks for handling it so quickly 👍 |
I ran into the same issue in my projects, so that was an additional motivation. |
Thanks for your help.
But sorry, I still end up in an infinite loop with version
4.0.3
Originally posted by @AndyOGo in #185 (comment)
The text was updated successfully, but these errors were encountered: