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

Yeah I have always struggled to figure out why I would use SQLModel.

Big fan of FastAPI but I think SQLModel leads to the wrong mental model that somehow db model and api schema are the same.

Therefore I insist on using SQLAlchemy for db models and pydantic for api schemas as a mental boundary.

 help





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

Search: