Skip to content

Commit

Permalink
Add declaration for @cache directive
Browse files Browse the repository at this point in the history
The `@cache` directive is available since 2.3.2.
  • Loading branch information
Vinai authored Jul 18, 2019
1 parent 301ebe7 commit 24da88e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/code/Magento/GraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
}

Expand Down

0 comments on commit 24da88e

Please sign in to comment.