Show HN: stable_pydantic – catch Pydantic schema breakage in two tests
https://github.com/QuartzLibrary/stable_pydantic
Hi HN!If you persist your pydantic models (db, cache, queues, config, ...), a schema change can quietly break deserialization.To help with this, stable_pydantic:- tests for backward compatibility (new client reads old data)- is easy to run on CI (just normal tests)- stores schemas as Python files (easy to review/diff)- optionally, tests for forward compatibility (old client reads new data)-...