From b5a2a983c5b8441b8733f2d36055a4fb4f79a1f3 Mon Sep 17 00:00:00 2001 From: vitaliyboyko Date: Thu, 19 Jul 2018 10:22:50 +0000 Subject: [PATCH] graphql-ce-120: fixed resolver name --- .../Resolver/{StoreConfigs.php => StoreConfigsResolver.php} | 2 +- app/code/Magento/StoreGraphQl/etc/schema.graphqls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/code/Magento/StoreGraphQl/Model/Resolver/{StoreConfigs.php => StoreConfigsResolver.php} (97%) diff --git a/app/code/Magento/StoreGraphQl/Model/Resolver/StoreConfigs.php b/app/code/Magento/StoreGraphQl/Model/Resolver/StoreConfigsResolver.php similarity index 97% rename from app/code/Magento/StoreGraphQl/Model/Resolver/StoreConfigs.php rename to app/code/Magento/StoreGraphQl/Model/Resolver/StoreConfigsResolver.php index c1daef97d5c60..609985b48e2be 100644 --- a/app/code/Magento/StoreGraphQl/Model/Resolver/StoreConfigs.php +++ b/app/code/Magento/StoreGraphQl/Model/Resolver/StoreConfigsResolver.php @@ -18,7 +18,7 @@ /** * StoreConfig page field resolver, used for GraphQL request processing. */ -class StoreConfigs implements ResolverInterface +class StoreConfigsResolver implements ResolverInterface { /** * @var StoreConfigsDataProvider diff --git a/app/code/Magento/StoreGraphQl/etc/schema.graphqls b/app/code/Magento/StoreGraphQl/etc/schema.graphqls index 2b45190c540eb..d0597de04b668 100644 --- a/app/code/Magento/StoreGraphQl/etc/schema.graphqls +++ b/app/code/Magento/StoreGraphQl/etc/schema.graphqls @@ -4,7 +4,7 @@ type Query { storeConfigs ( storeCodes: [String] @doc(description: "Store Codes of the store configs") ): StoreConfigs - @resolver(class: "Magento\\StoreGraphQl\\Model\\Resolver\\StoreConfigs") @doc(description: "The store configs query") + @resolver(class: "Magento\\StoreGraphQl\\Model\\Resolver\\StoreConfigsResolver") @doc(description: "The store configs query") } type Website @doc(description: "The type contains information about a website") {