Y
Hacker News
new
|
ask
|
show
|
jobs
by
ForHackernews
98 days ago
This sounds great and there's a real gap in the ecosystem for a tool like this.
https://sqlmodel.tiangolo.com/
looked promising but it's actually worse than useless because if you add it to your Pydantic models, it disables all validation:
https://github.com/fastapi/sqlmodel/issues/52
1 comments
mr_Fatalyst
98 days ago
Thanks! Yeah, that SQLModel issue is actually one of the things that pushed me to build this. In Oxyde the models are just Pydantic BaseModel subclasses, so validation always works, both on the way in and on the way out via model_validate().
link