odatalib - Does OData lib support @odata.nextLink on expanded feeds? -


i using odatalib parse odata v4 feeds , entries. 1 of odata feeds returns payload expanded associations this:

{   "@odata.context":"https://myfeed.com/api/data/v8.1/$metadata#accounts(name,account_tasks)","value":[     {       "@odata.etag":"w/\"596351\"","name":"account 1","accountid":"5f4c87e4-4952-e611-80dd-c4346bacfc18","account_tasks":[        ],"account_tasks@odata.nextlink":"https://myfeed.com/api/data/v8.1/accounts(5f4c87e4-4952-e611-80dd-c4346bacfc18)/account_tasks"     }   ] } 

note element "account_tasks@odata.nextlink": provides link expanded data. none of odatalib classes seems expose property.

is property exposed odatalib or it's not supported?

it supported in odl, can find in

https://github.com/odata/odata.net/blob/odatav4-6.x/src/microsoft.odata.core/odatafeedbase.cs#l49-l65

    public uri nextpagelink      {                 {             return this.nextpagelink;         }          set         {             if (this.deltalink != null && value != null)             {                 throw new odataexception(odataerrorstrings.odatafeed_mustnotcontainbothnextpagelinkanddeltalink);             }              this.nextpagelink = value;         }     } 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -