mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add missing arguments in aggregated resolver (#8729)
This commit is contained in:
@@ -879,6 +879,13 @@ export class GraphQLService {
|
||||
type: [AggregatedFunctions[collection.collection]],
|
||||
args: {
|
||||
groupBy: new GraphQLList(GraphQLString),
|
||||
filter: ReadableCollectionFilterTypes[collection.collection],
|
||||
search: {
|
||||
type: GraphQLString,
|
||||
},
|
||||
sort: {
|
||||
type: new GraphQLList(GraphQLString),
|
||||
},
|
||||
},
|
||||
resolve: async ({ info, context }: { info: GraphQLResolveInfo; context: Record<string, any> }) => {
|
||||
const result = await self.resolveQuery(info);
|
||||
|
||||
Reference in New Issue
Block a user