Open HeikoTheissen opened 1 year ago
Allow $top and $skip with "collection expressions" defined like here: https://github.com/oasis-tcs/odata-abnf/blob/c7002111720cc456fc1512ebb869528c220327f8/abnf/odata-aggregation-abnf.txt#L188-L189
$top
$skip
Employees?$top=Age
would not be allowed, because Age cannot be evaluated on a collection of Employees. But
Age
Employees
Managers?$expand=Employees($top=$it/Age)
would be allowed, since $it/Age is the age of one instance of Managers.
$it/Age
Managers
Allow
$top
and$skip
with "collection expressions" defined like here: https://github.com/oasis-tcs/odata-abnf/blob/c7002111720cc456fc1512ebb869528c220327f8/abnf/odata-aggregation-abnf.txt#L188-L189would not be allowed, because
Age
cannot be evaluated on a collection ofEmployees
. Butwould be allowed, since
$it/Age
is the age of one instance ofManagers
.