mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Remove use instance of deprecated class GraphQL\Schema
This commit is contained in:
parent
cc39b3ecbf
commit
189d474633
@ -2,10 +2,9 @@
|
|||||||
namespace GraphQL\Benchmarks;
|
namespace GraphQL\Benchmarks;
|
||||||
|
|
||||||
use GraphQL\GraphQL;
|
use GraphQL\GraphQL;
|
||||||
use GraphQL\Schema;
|
|
||||||
use GraphQL\Benchmarks\Utils\QueryGenerator;
|
use GraphQL\Benchmarks\Utils\QueryGenerator;
|
||||||
use GraphQL\Benchmarks\Utils\SchemaGenerator;
|
use GraphQL\Benchmarks\Utils\SchemaGenerator;
|
||||||
use GraphQL\Type\LazyResolution;
|
use GraphQL\Type\Schema;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @BeforeMethods({"setUp"})
|
* @BeforeMethods({"setUp"})
|
||||||
@ -23,8 +22,6 @@ class HugeSchemaBench
|
|||||||
|
|
||||||
private $schema;
|
private $schema;
|
||||||
|
|
||||||
private $lazySchema;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -7,11 +7,11 @@ use GraphQL\Language\AST\NameNode;
|
|||||||
use GraphQL\Language\AST\OperationDefinitionNode;
|
use GraphQL\Language\AST\OperationDefinitionNode;
|
||||||
use GraphQL\Language\AST\SelectionSetNode;
|
use GraphQL\Language\AST\SelectionSetNode;
|
||||||
use GraphQL\Language\Printer;
|
use GraphQL\Language\Printer;
|
||||||
use GraphQL\Schema;
|
|
||||||
use GraphQL\Type\Definition\FieldDefinition;
|
use GraphQL\Type\Definition\FieldDefinition;
|
||||||
use GraphQL\Type\Definition\InterfaceType;
|
use GraphQL\Type\Definition\InterfaceType;
|
||||||
use GraphQL\Type\Definition\ObjectType;
|
use GraphQL\Type\Definition\ObjectType;
|
||||||
use GraphQL\Type\Definition\WrappingType;
|
use GraphQL\Type\Definition\WrappingType;
|
||||||
|
use GraphQL\Type\Schema;
|
||||||
use GraphQL\Utils\Utils;
|
use GraphQL\Utils\Utils;
|
||||||
|
|
||||||
class QueryGenerator
|
class QueryGenerator
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace GraphQL\Benchmarks\Utils;
|
namespace GraphQL\Benchmarks\Utils;
|
||||||
|
|
||||||
use GraphQL\Schema;
|
|
||||||
use GraphQL\Type\Definition\EnumType;
|
use GraphQL\Type\Definition\EnumType;
|
||||||
use GraphQL\Type\Definition\InputObjectType;
|
use GraphQL\Type\Definition\InputObjectType;
|
||||||
use GraphQL\Type\Definition\ObjectType;
|
use GraphQL\Type\Definition\ObjectType;
|
||||||
use GraphQL\Type\Definition\Type;
|
use GraphQL\Type\Definition\Type;
|
||||||
|
use GraphQL\Type\Schema;
|
||||||
|
|
||||||
class SchemaGenerator
|
class SchemaGenerator
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user