odata-v4-server
odata-v4-server copied to clipboard
add support for setting @odata.nextLink on response body
This adds support for @odata.nextLink
in the response when the result's nextLink property is populated.
This is rather minimally defined at http://docs.oasis-open.org/odata/odata-json-format/v4.0/cs01/odata-json-format-v4.0-cs01.html#_Toc365464689.
The idea here is that we set the nextLink on the response and the caller can use it to get the next page of results when doing pagination.
You can also set the nextLink property on an expanded navigation property's result. If set it will appear in the response body as <navigationPropertyName>@odata.nextLink
. This is documented in the spec at http://docs.oasis-open.org/odata/odata-json-format/v4.0/os/odata-json-format-v4.0-os.html#_Expanded_Navigation_Property. In this scenario you've expanded a navigation and need to support pagination through the expanded navigation property.
Has there been any traction on getting this merged? This would be very beneficial to have in the main project.
Has there been any traction on getting this merged? This would be very beneficial to have in the main project.
I just emailed [email protected] to see if he's still maintaining this project (and also odata-v4-parser). Jaystack's homepage calls out this project under "Latest News" so if Viktor doesn't respond I guess Jaystack will be the next place to check with.
@LCHarold @lazarv So, is this project dead?
@LCHarold @lazarv So, is this project dead?
Well, I emailed @lazarv but got no response.
Then I emailed @knightburton - another JayStack employee - and got a response back that he would contact Viktor. So that was encouraging. But still no movement.
@LCHarold when was that?
@LCHarold when was that?
@knightburton responded back to me on May 22nd.