Should we be using Zod for schema validation after we download the JSON from the CMS?
Currently we rely on interfaces to do this. Using schema validation will enforce an extra layer of protection, but unfortunately it comes with a performance cost of going through the entire object tree.
This needs to be reasoned out before we implement.
Should we be using Zod for schema validation after we download the JSON from the CMS?
Currently we rely on interfaces to do this. Using schema validation will enforce an extra layer of protection, but unfortunately it comes with a performance cost of going through the entire object tree.
This needs to be reasoned out before we implement.