|
|
|
|
|
by NeutralForest
422 days ago
|
|
I don't like SQLModel for the simple reason that it muddles boundaries between different parts of the application. I suppose when you have a pure CRUD app it's ok, but anytime you want to handle ORM objects and apply some business logic; you'll want to cleanly separate those from what you send and receive from your API. |
|
But even then you'll get people implementing business logic in Pydantic validators. I feel like basic layered architecture is being forgotten.