From ed6f2b3f88f93f4d87734ff2317f1654badc26df Mon Sep 17 00:00:00 2001 From: Bertrand Dunogier Date: Tue, 22 Feb 2022 12:00:03 +0100 Subject: [PATCH] IBX-869: fixed loading of mutations schema --- src/bundle/DependencyInjection/GraphQL/YamlSchemaProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bundle/DependencyInjection/GraphQL/YamlSchemaProvider.php b/src/bundle/DependencyInjection/GraphQL/YamlSchemaProvider.php index f522c8f..f446602 100644 --- a/src/bundle/DependencyInjection/GraphQL/YamlSchemaProvider.php +++ b/src/bundle/DependencyInjection/GraphQL/YamlSchemaProvider.php @@ -15,7 +15,7 @@ class YamlSchemaProvider implements SchemaProvider { public const PLATFORM_SCHEMA_PATH = 'ezplatform/'; public const PLATFORM_SCHEMA_FILE = self::PLATFORM_SCHEMA_PATH . 'Domain.types.yaml'; - public const PLATFORM_MUTATION_FILE = self::PLATFORM_SCHEMA_PATH . 'DomainContentMutation.types.yaml'; + public const PLATFORM_MUTATION_FILE = self::PLATFORM_SCHEMA_PATH . 'ItemMutation.types.yaml'; public const APP_QUERY_SCHEMA_FILE = 'Query.types.yaml'; public const APP_MUTATION_SCHEMA_FILE = 'Mutation.types.yaml'; @@ -57,7 +57,7 @@ private function getMutationSchema() if (file_exists($this->getAppMutationSchemaFile())) { return 'Mutation'; } elseif (file_exists($this->getPlatformMutationSchema())) { - return 'DomainContentMutation'; + return 'ItemMutation'; } else { return null; }