[Aggregate queries for table views - #2] Add aggregate queries footer for simple views (#9025)

In this PR, we are introducing aggregate queries on table views, behind
a feature flag.
This does not work with view groups yet, nor with views that have
records until the bottom. (both will be tackled next)
This commit is contained in:
Marie
2024-12-12 13:38:58 +01:00
committed by GitHub
parent 5f2a39d9e9
commit 05cd0d1803
20 changed files with 662 additions and 62 deletions

View File

@ -22,6 +22,7 @@ export const generateAggregateQuery = ({
objectMetadataItem.nameSingular,
)}FilterInput) {
${objectMetadataItem.namePlural}(filter: $filter) {
${selectedFields ? '' : '__typename'}
${selectedFields}
}
}