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