-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept JSON type #70
Comments
Hey @rcourivaud , Thank you for reporting this. I think this needs two steps:
Feel free to do any PRs for these. |
What if we used sqlalchemy-utlis to automatically serialize the data based on the engine's dialect? https://sqlalchemy-utils.readthedocs.io/en/latest/data_types.html#module-sqlalchemy_utils.types.json This could also be used for array types https://sqlalchemy-utils.readthedocs.io/en/latest/data_types.html#module-sqlalchemy_utils.types.scalar_list |
Yeah at some point we should consider sqlalchemy-utils and geo-alchemy and other libraries. It's the same process as supporting SQLModel, basically needs to define WTForm converters for those fields. So I think for this issue we can focus on JSON type in PostgreSQL dialect and in another issue track sqlalchemy-utils. What do you think? |
So looks like the |
Checklist
Is your feature related to a problem? Please describe.
I want to be able to show JSON column in detail page.
Could not find field converter for column questions (<class 'sqlalchemy.dialects.postgresql.json.JSON'>).
Describe the solution you would like.
No response
Describe alternatives you considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: