Is it normal for error messages / potentially behaviour to change depending on jitless?
I wanted to do some stuff with discriminated unions with
jitless: true
(due to a bug with jitless that has been fixed) and i noticed that the validation behaviour was different when i set it to jitless: false
. Sadlly i didn't manage to reproduce the different validation behaviour but if you paste this into the web playground
you will see that the error message differs depending on the jitless
setting. Is this intended?1 Reply
Ideally they'd always be identical but it is known that there are a couple differences and this is the biggest.
We have an open issue to address it-
https://github.com/arktypeio/arktype/issues/961