I use Django ninja because it’s minimal and uncoupled from everything else. Like the framework it is based on fast api.
Coupling to the ORM the api contract (schemas) is much closer to Django rest framework than id like.
My approach is to have a schema factory that takes query results and outputs instances schema models. The schema handles all the contract level validation.
What benefits do you reason your project brings over my approach? I’m genuinely interested in a technical discussion. Not starting a flame war or baiting you.
Coupling to the ORM the api contract (schemas) is much closer to Django rest framework than id like.
My approach is to have a schema factory that takes query results and outputs instances schema models. The schema handles all the contract level validation.
What benefits do you reason your project brings over my approach? I’m genuinely interested in a technical discussion. Not starting a flame war or baiting you.