jaystack / jaydata

Notice: this library isn't maintained anymore
http://jaydata.org
GNU General Public License v2.0
352 stars 94 forks source link

OData v4 $select, $expand, and batch save fixes #240

Closed jpattersonz closed 8 years ago

jpattersonz commented 8 years ago

batch save was incorrectly appending this.providerConfiguration.oDataServiceHost + '/' to each item in the batch.

$select and $expand had not yet been converted to OData v4 and thus only worked on level 0 items.

$select http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398297

$expand http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398298

jpattersonz commented 8 years ago

I should mention that I was working with a server running the latest Web API 2.2 OData v4.

robesz commented 8 years ago

Great, we check! :)