graphql-engine/server/src-lib/Hasura/GraphQL/Schema
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
..
Action.hs Fix action relationship type and input arguments (closes #6402) (#284) 2021-01-18 06:57:24 +00:00
Backend.hs server: generalize update schema 2021-01-08 19:46:34 +00:00
BoolExp.hs server: schema that grows (#105) 2020-12-01 15:51:13 +00:00
Common.hs Server: fix issue of not being able to track tables with non-compliant GraphQL names (#313) 2021-01-12 08:13:58 +00:00
Introspect.hs server: make more use of hlint (#6059) 2020-10-28 16:40:33 +00:00
Mutation.hs server: generalize update schema 2021-01-08 19:46:34 +00:00
OrderBy.hs server: schema that grows (#105) 2020-12-01 15:51:13 +00:00
Postgres.hs server: generalize update schema 2021-01-08 19:46:34 +00:00
Remote.hs server: fix issue when a non-nullable remote schema field was added as nullable (#279) 2021-01-05 14:47:52 +00:00
Select.hs server: add type information to aggregates and stringify them (closes #5704) 2021-01-18 13:52:51 +00:00
Table.hs server: schema that grows (#105) 2020-12-01 15:51:13 +00:00