Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify response objects #3

Open
TimoGlastra opened this issue Apr 30, 2024 · 1 comment
Open

Verify response objects #3

TimoGlastra opened this issue Apr 30, 2024 · 1 comment

Comments

@TimoGlastra
Copy link
Contributor

TimoGlastra commented Apr 30, 2024

As it's passed from a remote server we can't be sure the objects are valid. Should we do some sort of object validation before returning it?

E.g. I was thinking we could do validation with Zod for example?

@genaris
Copy link
Contributor

genaris commented May 1, 2024

Yeah I think that would be nice, and also a good way to start using Zod!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants