Give ‘group’ the same aggregation fields as ‘pagination’ #32523
Unanswered
nagiek
asked this question in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The
group
resolver is very powerful. I think we could make it even more powerful by allowing nested chains of grouping within a query.We add the aggregation resolvers to pagination in schema/types/pagination.ts. Since the aggregation fields (distinct/group/max/min/sum) only use the
edges
argument, which is also available ingroup
, why not add them to group as well?Happy to help if you think it’s a good idea.
Beta Was this translation helpful? Give feedback.
All reactions