Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Declare @doc and @resolver directives #775

Merged
merged 4 commits into from
Jul 30, 2019
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions app/code/Magento/GraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
@@ -1,6 +1,44 @@
# 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

type Query {
}

Expand Down