graphql-engine/server/tests-py/queries/graphql_query/aggregations
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
..
article_agg_count_sum_avg_max_min_with_aliases.yaml introduce v1/graphql (fix #1368) (#2064) 2019-05-10 11:35:10 +05:30
article_agg_where.yaml server: add type information to aggregates and stringify them (closes #5704) 2021-01-18 13:52:51 +00:00
article_deeply_nested_aggregate.yaml introduce v1/graphql (fix #1368) (#2064) 2019-05-10 11:35:10 +05:30
author_agg_with_articles_where.yaml introduce v1/graphql (fix #1368) (#2064) 2019-05-10 11:35:10 +05:30
author_agg_with_articles.yaml introduce v1/graphql (fix #1368) (#2064) 2019-05-10 11:35:10 +05:30
setup.yaml server: add type information to aggregates and stringify them (closes #5704) 2021-01-18 13:52:51 +00:00
teardown.yaml support aggregations (closes #786) (#787) 2018-10-26 14:32:43 +05:30