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
Validation error with Json pydantic field #131
Comments
This may be a related issue in pydantic-sqlalchemy |
Hi @unidesigner, my first thought is that this may be a pydantic-sqlalchemy issue as you mentioned. Would you be able to provide a more complete code example of how it is being used? |
Hi @awtkns, thanks for getting back to me. Yes, you are right, it is likely a pydantic-sqlalchemy issue and I should go and check there. I will report back once I solve the issue. |
I use a JSONB column in Postgres, but I do get an error on the GET all route with my specified pydantic model with
json_field: Optional[pydantic.Json] = None
with proper json data in my database table. The exception is:Any idea how to fix that? Thanks.
The text was updated successfully, but these errors were encountered: