Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ForHackernews
· 8mo ago · 0 comments
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
Comments
[–]
mr_Fatalyst
8mo 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().