Open TimoGlastra opened 6 months ago
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?
Yeah I think that would be nice, and also a good way to start using Zod!
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?