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 { }