From 913d55686f95dfc3261fafe25dbd8949a2000614 Mon Sep 17 00:00:00 2001 From: Tyler Adams Date: Thu, 18 Aug 2022 13:32:11 -0700 Subject: [PATCH] Mention other GraphQL directives Reviewed By: mofeiZ Differential Revision: D38679474 fbshipit-source-id: d70b8ac9f08fb094a75d9f0b281e93f1789d033c --- website/docs/api-reference/graphql/graphql-directives.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/docs/api-reference/graphql/graphql-directives.md b/website/docs/api-reference/graphql/graphql-directives.md index 32986c41e6528..358ff33ec8d91 100644 --- a/website/docs/api-reference/graphql/graphql-directives.md +++ b/website/docs/api-reference/graphql/graphql-directives.md @@ -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. + **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. + + +**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). + ## `@arguments`