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
Since the API is built using typescript, hence using zod to enforce better types especially for type checking he results of API calls might be a good idea.
The text was updated successfully, but these errors were encountered:
One of the reference areas of use could be to verify the results of API calls. For example as I am working on the onedev integration, I am required to perform a lot API calls to the onedev API, and even though I have defined custom types for the responses from the onedev API, there is no checking of those types, that's where I got the idea of integrating zod in the code base. You can have a look at the latest commit of #210 for reference.
Since the API is built using typescript, hence using zod to enforce better types especially for type checking he results of API calls might be a good idea.
The text was updated successfully, but these errors were encountered: