Skip to content

Commit

Permalink
Support to retrieve large lists via lazy load (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrem committed May 21, 2020
1 parent 1fe8108 commit 2a1e8d8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
3 changes: 1 addition & 2 deletions src/Runtime/OData/JsonFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
class JsonFormat extends ODataFormat
{



public function __construct($metadataLevel)
{
parent::__construct($metadataLevel);
Expand All @@ -19,6 +17,7 @@ public function __construct($metadataLevel)
$this->ControlFamilyTag = "@odata";
$this->CollectionTag = "value";
$this->TypeTag = "@odata.type";
$this->NextCollectionTag = "@odata.nextLink";
}


Expand Down
11 changes: 0 additions & 11 deletions src/Runtime/OData/JsonLightFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ public function getMediaType()
*/
public $MetadataTag;


/**
* @var string
*/
public $CollectionTag;


/**
* @var string
*/
Expand All @@ -51,8 +44,4 @@ public function getMediaType()
*/
public $FunctionTag;

/**
* @var string
*/
public $NextCollectionTag;
}
12 changes: 12 additions & 0 deletions src/Runtime/OData/ODataFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,16 @@ public function isAtom()
*/
public $MetadataLevel;


/**
* @var string
*/
public $NextCollectionTag;


/**
* @var string
*/
public $CollectionTag;

}

0 comments on commit 2a1e8d8

Please sign in to comment.