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
The typing is a mess. Currently, typing for serialization uses the types defined by the parser which are broader than what comes out of the validator. This leads to a lot of type narrowing that isn't necessary because the validation step has thrown out values that aren't acceptable for each parameter.
I think it's possible to narrow the post-validation types into something structural, so let's look at that soon.
The text was updated successfully, but these errors were encountered:
The typing is a mess. Currently, typing for serialization uses the types defined by the parser which are broader than what comes out of the validator. This leads to a lot of type narrowing that isn't necessary because the validation step has thrown out values that aren't acceptable for each parameter.
I think it's possible to narrow the post-validation types into something structural, so let's look at that soon.
The text was updated successfully, but these errors were encountered: