Closed igdianov closed 4 months ago
Move all aggregate queries for nested aggregations into dedicated by field to improve schema definition and data fetching for further extension, i.e.
by
Before:
query { TaskVariables( # Apply filter criteria where: {name: {IN: ["variable1", "variable5"]}} ) { aggregate { # Count by associated tasks task { by(field: status) count } } } }
After
query { TaskVariables( # Apply filter criteria where: {name: {IN: ["variable1", "variable5"]}} ) { aggregate { # Count by associated tasks by { task { by(field: status) count } } } } }
Move all aggregate queries for nested aggregations into dedicated
by
field to improve schema definition and data fetching for further extension, i.e.Before:
After