From 24da88ee7eb6f13b7a028b6ae5e64964c24603d9 Mon Sep 17 00:00:00 2001 From: Vinai Kopp Date: Thu, 18 Jul 2019 11:57:17 +0200 Subject: [PATCH] Add declaration for @cache directive The `@cache` directive is available since 2.3.2. --- app/code/Magento/GraphQl/etc/schema.graphqls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/GraphQl/etc/schema.graphqls b/app/code/Magento/GraphQl/etc/schema.graphqls index 2614f5c94b5fb..eb6a88a4d487d 100644 --- a/app/code/Magento/GraphQl/etc/schema.graphqls +++ b/app/code/Magento/GraphQl/etc/schema.graphqls @@ -39,6 +39,8 @@ directive @resolver(class: String="") on QUERY directive @typeResolver(class: String="") on INTERFACE | OBJECT +directive @cache(cacheIdentity: String="" cachable: Boolean=true) on QUERY + type Query { }