Comment Comment by unculture 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... parent unculture 1 year ago
https://github.com/fastapi/sqlmodel/issues/52#issuecomment-1...