jaystack / odata-v4-server

With JayStack OData v4 Server you can build your own data endpoints without the hassle of implementing any protocol-level code. This framework binds OData v4 requests to your annotated controller functions, and compiles OData v4 compatible response. Clients can access services through OData-compliant HTTP requests. We recommend the JayData library for consuming OData v4 APIs.
https://jaystack.com/products/jaystack-odata-v4-server/
76 stars 55 forks source link

Missing support for OData Batch Requests #23

Open rundphunk opened 6 years ago

rundphunk commented 6 years ago

Hi,

suddenly there is no support for OData V4 batch requests. Is it planned to add this? Implementing with UI5 the OData V4 model only gives you the ability to commit changes per batch requests.

When sending a batch request server.ts will throw an error on line 273, because the incoming content-type is multipart/mixed. I think the request has to be cut and processed part-by-part somewhere around this.

Regards

joske500 commented 5 years ago

+1 on this request

whoizz commented 5 years ago

last I tried the response is now 500 - but there seems to be no reference to $batch at all in this repo, even thou it seems the parser library could? handle it..