Aggregation with new GraphQL API

In GraphQL± we can able to do Aggregation & GroupBy.

Is it possible to do Aggregation & GroupBy in new GraphQL API?

If not any plan to support in future?

1 Like

Hi Ashim,

GraphQL while being spec compliant, can’t support all the nice features provided by GraphQL±.

Some of the features may eventually be moved to GraphQL, but for others we will have to use Custom Resolvers.

Some of the features may eventually be moved to GraphQL, but for others, we will have to use Custom Resolvers.

What are Custom Resolvers?

Most likely what would happen is that we’d allow users to run GraphQL± queries, to bridge the gap in functionality left by the official spec of GraphQL.

3 Likes

A way for you to invoke your custom logic.

Have a look https://graphql.dgraph.io/doc/custom/.

2 Likes