Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

SQLModel is supposed to be the best of both Pydantic and SQLAlchemy, but by design an SQLModel entity backed by a database table doesn't validate its fields on creation, which is the point of Pydantic.

https://github.com/fastapi/sqlmodel/issues/52#issuecomment-1...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: