2060-io / credo-ts-didweb-anoncreds

AnonCreds did:web method registry for credo-ts
MIT License
4 stars 2 forks source link

Verify response objects #3

Open TimoGlastra opened 6 months ago

TimoGlastra commented 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?

genaris commented 6 months ago

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