graphql-engine/server/src-lib/Hasura/Backends/Postgres
Vladimir Ciobanu 6e752a7876 server: add type information to aggregates and stringify them (closes #5704)
Fixes https://github.com/hasura/graphql-engine/issues/5704 by checking, for aggregate fields whether we are handling a numeric aggregation.

This PR also adds type information to `ColFld` such that we know the type of the field.

This is the second attempt. See #319 for a less invasive approach. @nicuveo suggested type information might be useful, and since it wasn't hard to add, I think this version is better as well.

GitOrigin-RevId: aa6a259fd5debe9466df6302839ddbbd0ea659b5
2021-01-18 13:52:51 +00:00
..
Execute server: multi source metadata APIs (#217) 2021-01-07 09:05:19 +00:00
SQL server: remove some unused top-level definitions; some minor code cleanups (#141) 2020-12-04 19:33:10 +00:00
Translate server: add type information to aggregates and stringify them (closes #5704) 2021-01-18 13:52:51 +00:00
Connection.hs server: RQL code health 2021-01-08 23:10:36 +00:00