mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 06:16:05 +03:00
Disabled deprecation notice for ResolveInfo->fieldASTs (until next version)
This commit is contained in:
parent
660200ed50
commit
63d44fe002
@ -26,7 +26,7 @@ class ResolveInfo
|
||||
* @var FieldNode[]
|
||||
* @deprecated Renamed to $fieldNodes as of 19.11.2016, will be removed after several releases
|
||||
*/
|
||||
// public $fieldASTs;
|
||||
public $fieldASTs;
|
||||
|
||||
/**
|
||||
* @var FieldNode[]
|
||||
@ -76,6 +76,7 @@ class ResolveInfo
|
||||
public function __construct(array $values)
|
||||
{
|
||||
Utils::assign($this, $values);
|
||||
$this->fieldASTs = $this->fieldNodes;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -241,6 +241,7 @@ class ExecutorTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertEquals([
|
||||
'fieldName',
|
||||
'fieldASTs',
|
||||
'fieldNodes',
|
||||
'returnType',
|
||||
'parentType',
|
||||
|
Loading…
Reference in New Issue
Block a user