You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a postgres column of type JSONB, postgrest returns it as the deserialized json value. But the types that supabase generates uses the pydantic Json type, which requires the input to be a JSON string.
Workaround is to manually json.dumps before using .model_validate()
Activity
fix(postgrest-typegen): python escaping, 3.9 imports, JsonValue json …
o-santi commentedon Oct 2, 2026
@brandonchinn178 can you confirm this is still an issue? I believe #124 fixed this.
brandonchinn178 commentedon Oct 2, 2026
Looks great, thanks!