-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V4.0_WD01
-
Fix Version/s: V4.0_WD01
-
Component/s: Protocol, URL Conventions
-
Labels:None
-
Environment:
[Closed]
-
Proposal:
Currently clients need to repeat themselves when projecting on expanded entities:
GET http://services.odata.org/OData/OData.svc/Products?$select=*,Category/Name&$expand=Category
This could be reduced to
GET http://services.odata.org/OData/OData.svc/Products?$select=*,Category/Name
because the client explicitly requests Category/Name, and the server can only satisfy that if it expands the Category.