You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@justinwrobel The error schema typing is pretty strange given it's recursive nature. If you use the ErrorSchemaBuilder to create your ErrorSchema instance then you can avoid these issues that can be caused by trying to hand-code one.
Prerequisites
What theme are you using?
utils
Version
5.21.2
Current Behavior
Typing ErrorSchema claims subsequent fields 'are not assignable'. The following is the relevant code and the full error message
Relevant code:
Error message:
Full example is at https://codesandbox.io/p/sandbox/confident-framework-34wv6s
Expected Behavior
ErrorSchema should not throw errors when Typed
Steps To Reproduce
See full example at https://codesandbox.io/p/sandbox/confident-framework-34wv6s
The following error is visible in the "problems" pane
Environment
https://codesandbox.io/p/sandbox/confident-framework-34wv6s
Anything else?
No response
The text was updated successfully, but these errors were encountered: