Recursive data structure validation #73
Unanswered
deanmcpherson
asked this question in
Q&A
Replies: 1 comment
-
In such cases it is recommended to manually write validation rules within a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use a data structure to validate a recursive document data structure (prosemirror). I'm running into an issue where I need a class to be able to reference a nested collection of itself;
e.g.
When I validate data against this type, it just locks up. I assume it's because the validation would be pre-built, and it's just getting in an infinite loop. Are there any known workarounds?
Beta Was this translation helpful? Give feedback.
All reactions