Closed jtippet closed 8 years ago
In fact, you can put almost any random thing in the select, and it'll round-trip through to each page. E.g.,
new QueryOption("select", "name,@content.downloadUrl,file,abracadabra"),
will have abracadabra
in each page's QueryOptions
. It seems like only tokens that begin with @
get dropped.
One workaround is to add the @content.downloadUrl
back again each time you move to the next page.
page = await page.NextPageRequest.Select("@content.downloadUrl").GetAsync();
Please re-open this issue against the API docs as this is not an SDK issue. https://github.com/OneDrive/onedrive-api-docs
If you ask to select the
@content.downloadUrl
, it works fine on the first page. But it's lost when you go to the 2nd page.Repro:
It works fine for the first page -- each file has a
@content.downloadUrl
. But when you get to the second page, the wholeAdditionalData
is null, and the assertion fires.Looking through the private members of the
ItemDeltaRequest
, itsQueryOptions
has a$select=name,file
. It managed to keep the other things I had in the select -- somehow it just lost the one.