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
Hello there, new to zod and super happy with it, thank you so much for your work!
As I was playing around with implementing zod into my ts projects I realized I was getting some invalid_literal error codes in my zod issues array (mostly in union validation errors). I tried looking up the invalid_literal code in the general project gh docs as well as your error handling docs to see what extra fields I can expect and it seems to be missing from those docs. I do see this error code in the source code so I'm assuming I didn't find a bug, just possibly some missing docs.
Figured I'd bring it up in case you weren't aware or in the case I'm missing/confused about how the invalid_literal code is supposed to be used.
The text was updated successfully, but these errors were encountered:
Hello there, new to zod and super happy with it, thank you so much for your work!
As I was playing around with implementing zod into my ts projects I realized I was getting some
invalid_literal
error codes in my zod issues array (mostly in union validation errors). I tried looking up theinvalid_literal
code in the general project gh docs as well as your error handling docs to see what extra fields I can expect and it seems to be missing from those docs. I do see this error code in the source code so I'm assuming I didn't find a bug, just possibly some missing docs.Figured I'd bring it up in case you weren't aware or in the case I'm missing/confused about how the
invalid_literal
code is supposed to be used.The text was updated successfully, but these errors were encountered: