Skip to content

Commit

Permalink
Mention other GraphQL directives
Browse files Browse the repository at this point in the history
Reviewed By: mofeiZ

Differential Revision: D38679474

fbshipit-source-id: d70b8ac9f08fb094a75d9f0b281e93f1789d033c
  • Loading branch information
tjadams authored and facebook-github-bot committed Aug 18, 2022
1 parent 37f7c0c commit 913d556
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/docs/api-reference/graphql/graphql-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';

Relay uses directives to add additional information to GraphQL documents, which are used by the [Relay compiler](../../guides/compiler/) to generate the appropriate runtime artifacts. These directives only appear in your application code and are removed from requests sent to your GraphQL server.

<OssOnly>
**Note:** The Relay compiler will maintain any directives supported by your server (such as `@include` or `@skip`) so they remain part of the request to the GraphQL server and won't alter generated runtime artifacts.
</OssOnly>
<FbInternalOnly>
**Note:** The Relay compiler will maintain any directives supported by your server (such as `@include` or `@skip`) so they remain part of the request to the GraphQL server and won't alter generated runtime artifacts. Additional directives are documented [here](https://www.internalfb.com/intern/wiki/GraphQL/APIs_and_References/Directives/#graphql-standard).
</FbInternalOnly>

## `@arguments`

Expand Down

0 comments on commit 913d556

Please sign in to comment.