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
{success: false,code: 'TYPE_INCORRECT',message: 'Expected string | number | { test: boolean; }, but was object'}
This is not very helpful. Error reporting algorithm of Union (and also maybe Intersect) seems non-trivial, so I need to investigate how this can be resolved. This issue should be considered as a bug, because above result is just unintentional and incorrect, and we're going to treat bugfixes for this as non-breaking changes.
The text was updated successfully, but these errors were encountered:
As for error reporting, current implementation of
Union
is somewhat incomplete, for example:Then we get:
This is not very helpful. Error reporting algorithm of
Union
(and also maybeIntersect
) seems non-trivial, so I need to investigate how this can be resolved. This issue should be considered as a bug, because above result is just unintentional and incorrect, and we're going to treat bugfixes for this as non-breaking changes.The text was updated successfully, but these errors were encountered: