graphql-engine/server/src-lib/Hasura/Backends/Postgres/Translate
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
..
BoolExp.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Column.hs server: don't memoize backend scalar type reps through WithScalarType (#136) 2020-12-03 12:22:24 +00:00
Delete.hs server: remove a few unused Lift instances (#114) 2020-11-26 13:58:07 +00:00
Insert.hs server: remove a few unused Lift instances (#114) 2020-11-26 13:58:07 +00:00
Mutation.hs server: all remaining IR changes (#75) 2020-11-25 14:19:50 +00:00
Returning.hs server: RQL code health 2021-01-08 23:10:36 +00:00
Select.hs server: add type information to aggregates and stringify them (closes #5704) 2021-01-18 13:52:51 +00:00
Types.hs server: all remaining IR changes (#75) 2020-11-25 14:19:50 +00:00
Update.hs server: schema that grows (#105) 2020-12-01 15:51:13 +00:00