-
-
Notifications
You must be signed in to change notification settings - Fork 122
recursive object results in ValueError: Recursion limit reached #945
Copy link
Copy link
Open
Description
Thanks for working on this library. I've been following it as a possible replacement for the python jsonschema library in https://github.com/asdf-format/asdf One of the features we needed was custom keywords which I was excited to see was added to the python API in the latest release. ASDF uses jsonschemas to validate instances that can often be recursive.
Are there plans to support recursive objects? The following example:
import jsonschema_rs
a = {}
a['a'] = a
jsonschema_rs.validate({"properties": {"a": {"type": "object"}}}, a)fails with ValueError: Recursion limit reached.
Let me know if more information is helpful of if you have suggestions for work-arounds.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels