Uh oh!
There was an error while loading. Please reload this page.
✨ Add support for passing a custom SQLAlchemy type to Field() with sa_type - #505
Conversation
📝 Docs preview for commit 55098b2 at: https://637da5945b0a220ff8ef4e3c--sqlmodel.netlify.app |
📝 Docs preview for commit c4c58cc at: https://6399e5912bd3820502950046--sqlmodel.netlify.app |
📝 Docs preview for commit 54d1816 at: https://639cdfbd569504009f94aa64--sqlmodel.netlify.app |
danielkza
commented
Dec 22, 2022
I just started trying out SQLModel and hit the issue where I can't use a |
maru0123-2004
commented
Dec 25, 2022
Thank you...! |
bkanuka
commented
Feb 19, 2023
@danielkza you can do something like this: |
Field() with sa_typetiangolo
commented
Oct 29, 2023
Great, thank you @maru0123-2004! 🚀 🍰 This will be available in the next version, I will document it (and add tests for it) soon, but later, after migrating to SQLAlchemy 2.0 and Pydantic 2.0. 🤓 |
Related to #503 .
Notice;
I tested its works only in my case.