Skip to content

Error when generating schema in MergeSchemas.php line 217 #5

@olup

Description

@olup

Impossible to get the stitching done. Error is as follow :

PHP Fatal error:  Uncaught GraphQL\Error\InvariantViolation: Query.0 field config must be an array, but got: 0Queries in /home/olup/development/tests/php monorepo/vendor/webonyx/graphql-php/src/Type/Definition/FieldDefinition.php:122
Stack trace:
#0 /home/olup/development/tests/php monorepo/vendor/webonyx/graphql-php/src/Type/Definition/ObjectType.php(151): GraphQL\Type\Definition\FieldDefinition::defineFieldMap(Object(GraphQL\Type\Definition\ObjectType), Array)
#1 /home/olup/development/tests/php monorepo/vendor/webonyx/graphql-php/src/Utils/TypeInfo.php(180): GraphQL\Type\Definition\ObjectType->getFields()
#2 /home/olup/development/tests/php monorepo/vendor/webonyx/graphql-php/src/Type/Schema.php(213): GraphQL\Utils\TypeInfo::extractTypes(Object(GraphQL\Type\Definition\ObjectType), Array)
#3 /home/olup/development/tests/php monorepo/vendor/webonyx/graphql-php/src/Type/Schema.php(199): GraphQL\Type\Schema->collectAllTypes()
#4 /home/olup/development/tests/php monorepo/vendor/webonyx/graphql-php/src/Type/Schema.php(153): Graph in /home/olup/development/tests/php monorepo/vendor/webonyx/graphql-php/src/Type/Definition/FieldDefinition.php on line 122

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions