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
However, this returns a string type. While it does validate this correctly, the typing is not the correct type.
This is not the expected result as 'string' and 'enum' are completely different. If I pass the result.data.status to an enum type, I get an error because it is a string type, while technically validated.
J
The text was updated successfully, but these errors were encountered:
I have a schema like this:
However, this returns a string type. While it does validate this correctly, the typing is not the correct type.
This is not the expected result as 'string' and 'enum' are completely different. If I pass the
result.data.status
to an enum type, I get an error because it is a string type, while technically validated.J
The text was updated successfully, but these errors were encountered: