-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Amplify GraphQL Directives | ||
|
||
Source of truth for the GraphQL directive definition used by the Amplify GraphQL API. | ||
|
||
> :warning: **Intended for internal Amplify use only.** | ||
## Description | ||
|
||
This package defines the GraphQL directives in GraphQL syntax. | ||
Each directive is imported into the corresponding GraphQL transformer. | ||
This package is responsible for the name, definition, and argument defaults for a directive. | ||
The GraphQL transformers utilize the GraphQL directives to define the behavior of the transform. | ||
|
||
This package also contains the AppSync GraphQL directives. | ||
These directives are defined internally by AppSync. | ||
The definitions here are copied from the internal definition. | ||
|
||
This package is intended to be the only source of truth for the GraphQL directive definitions used by the Amplify GraphQL API. | ||
This package should be imported in place of reproducing the definitions in other packages. |