cap-js / cds-dbs

Monorepo for SQL Database Services for CAP
https://cap.cloud.sap/docs/
Apache License 2.0
37 stars 11 forks source link

fix: Throw error if rows in limit is missing for expand, same as in limit() #858

Closed SamuelBrucksch closed 1 month ago

SamuelBrucksch commented 1 month ago

OData requests like $expand=xxx($skip=5) currently fail, because rows is missing which causes a TypeError on HANA. We already have a missing rows check for limit(), so i added the same here.