Pydantic brings validation and serialization but has a compile-time cost and a heavier mental model. For internal data structures with no external boundary, dataclasses feel cleaner. Is that the right split?
10
0 commentsPydantic brings validation and serialization but has a compile-time cost and a heavier mental model. For internal data structures with no external boundary, dataclasses feel cleaner. Is that the right split?