hasura / hasura/graphql-engine
Postgres limits 100 parameters to `json_build_object` function
Open
a/data/postgres
c/server
k/bug
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
The server is using `json_build_object` to select fields from a table if any field name (alias) is more than 63 characters (See [this](https://github.com/hasura/graphql-engine/blob/b84db36ebb51acd5b51e1254c103f3097a7c2358/server/src-lib/Hasura/RQL/DML/Select/Internal.hs#L204)).
References:-
https://stackoverflow.com/questions/17421265/postgresql-how-to-pass-more-than-100-arguments-to-a-function
(via `JasonC#9374` on Discord)
Contributor guide
Assessment
This issue has not been assessed yet.