Currently we can’t aggregate data from views by nested types.
For example, in the query below, we cannot aggregate fields by grouping them under the name of B and count the descriptions in view A, as they are nested within view B.
type A {
refB: B
description: string
}
type B {
name: string
}
Additionally, it would be beneficial if filtering by non-primitive types and nested fields were feasible.
For clarity, by primitive types, I am referring to basic fields like strings and numbers.