Along with having a better return type, this is part of a fix to allow the queries generator to use this query method when the parsed type of a query is AT_LEAST_ONE.
We currently map AT_LEAST_ONE to query which returns T[] instead of [T, ...T[]] which is the type that the queries generator gets for a literal set of primitives, for instance. See #1072
Along with having a better return type, this is part of a fix to allow the queries generator to use this query method when the parsed type of a query is
AT_LEAST_ONE
.We currently map
AT_LEAST_ONE
toquery
which returnsT[]
instead of[T, ...T[]]
which is the type that the queries generator gets for a literal set of primitives, for instance. See #1072