Skip to content

Commit

Permalink
ENGCOM-5460: Declare @doc and @resolver directives #775
Browse files Browse the repository at this point in the history
  • Loading branch information
naydav authored Jul 29, 2019
2 parents 214ca10 + 1f59d5c commit 5660eba
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions app/code/Magento/GraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
@@ -1,6 +1,46 @@
# Copyright © Magento, Inc. All rights reserved.
# See COPYING.txt for license details.

directive @doc(description: String="") on QUERY
| MUTATION
| FIELD
| FRAGMENT_DEFINITION
| FRAGMENT_SPREAD
| INLINE_FRAGMENT
| SCHEMA
| SCALAR
| OBJECT
| FIELD_DEFINITION
| ARGUMENT_DEFINITION
| INTERFACE
| UNION
| ENUM
| ENUM_VALUE
| INPUT_OBJECT
| INPUT_FIELD_DEFINITION

directive @resolver(class: String="") on QUERY
| MUTATION
| FIELD
| FRAGMENT_DEFINITION
| FRAGMENT_SPREAD
| INLINE_FRAGMENT
| SCHEMA
| SCALAR
| OBJECT
| FIELD_DEFINITION
| ARGUMENT_DEFINITION
| INTERFACE
| UNION
| ENUM
| ENUM_VALUE
| INPUT_OBJECT
| INPUT_FIELD_DEFINITION

directive @typeResolver(class: String="") on INTERFACE | OBJECT

directive @cache(cacheIdentity: String="" cachable: Boolean=true) on QUERY

type Query {
}

Expand Down

0 comments on commit 5660eba

Please sign in to comment.