mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Fixed broken build
This commit is contained in:
parent
34eae0b891
commit
ed3591c1a9
@ -78,7 +78,7 @@ class HugeSchemaBench
|
|||||||
private function createLazySchema()
|
private function createLazySchema()
|
||||||
{
|
{
|
||||||
return new Schema(
|
return new Schema(
|
||||||
\GraphQL\Config::create()
|
\GraphQL\Type\SchemaConfig::create()
|
||||||
->setQuery($this->schemaBuilder->buildQueryType())
|
->setQuery($this->schemaBuilder->buildQueryType())
|
||||||
// ->setDescriptor($this->descriptor)
|
// ->setDescriptor($this->descriptor)
|
||||||
->setTypeLoader(function($name) {
|
->setTypeLoader(function($name) {
|
||||||
|
@ -814,7 +814,7 @@ class ValidationTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$schema = $this->schemaWithFieldType(new ObjectType([
|
$schema = $this->schemaWithFieldType(new ObjectType([
|
||||||
'name' => 'SomeObject',
|
'name' => 'SomeObject',
|
||||||
'interfaces' => function () use ($NonUniqInterface, $AnotherInterface, $NonUniqInterface) {
|
'interfaces' => function () use ($NonUniqInterface, $AnotherInterface) {
|
||||||
return [$NonUniqInterface, $AnotherInterface, $NonUniqInterface];
|
return [$NonUniqInterface, $AnotherInterface, $NonUniqInterface];
|
||||||
},
|
},
|
||||||
'fields' => ['f' => ['type' => Type::string()]]
|
'fields' => ['f' => ['type' => Type::string()]]
|
||||||
|
Loading…
Reference in New Issue
Block a user