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
When a PostgreSql column of type json or jsonb has data that has an array as the root element, the code here mistakenly assumes it to be an array type and tries to return it back as an array, which fails GraphQl schema validation and errors out.
Steps to Reproduce
Use any PostgreSql table with a jsonb column
Insert json data which contains an array as the root element for it
Add this to the GraphQL query
Notice the query fails very quickly with this issue
The text was updated successfully, but these errors were encountered:
Description
When a PostgreSql column of type
json
orjsonb
has data that has an array as the root element, the code here mistakenly assumes it to be an array type and tries to return it back as an array, which fails GraphQl schema validation and errors out.Steps to Reproduce
The text was updated successfully, but these errors were encountered: