-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor
-
Affects Version/s: V4.0_WD01
-
Component/s: Protocol, URL Conventions
-
None
-
Environment:
[Closed]
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.