Uncaught (in promise) RangeError: Maximum call stack size exceeded
When using ArkType with svelte superforms, I'm getting the error:
Not sure if this is an ArkType error or a superforms error as I can't see higher up the call stack. But I can confirm that it only happens for a field typed as
'100 < number <= 3000'
and doesn't occur for just 'number'
3 Replies
Not sure where justClone.js:34:27 comes from but it doesn't sound like ArkType so maybe it is trying to clone something cyclic?
Definitely nothing cyclic
But I mean internally it might be trying to clone something cyclic
I don't know what justClone is doing so without that context it is hard to know what's going on
Obviously if you see a case where that Type defined directly in ArkType somehow blows up, that would be very concerning
But based on the stack trace, that doesn't seem to be the issue