From b7f59afc4b74404a6270b4bff8fd74f565fd8c59 Mon Sep 17 00:00:00 2001 From: eMerzh Date: Mon, 5 Feb 2024 10:36:50 -0800 Subject: [PATCH] chore(doc): improve relay compiler doc for persist (#4608) Summary: because this config was undocumented just found it in the release note Pull Request resolved: https://github.com/facebook/relay/pull/4608 Reviewed By: josephsavona Differential Revision: D53274563 Pulled By: captbaritone fbshipit-source-id: 7d2a43fd60e6120ab1bfaf7283c4e6ea96ad4a65 --- packages/relay-compiler/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/relay-compiler/README.md b/packages/relay-compiler/README.md index 1a602127737e8..506502177db33 100644 --- a/packages/relay-compiler/README.md +++ b/packages/relay-compiler/README.md @@ -96,11 +96,14 @@ file sources, and "listen" to the file changes in the "watch" mode. If contain additional parameters to send. [object] - `concurrency` The maximum number concurrent requests that will be made to `url`. Use a value greater than 0. [number] - + - `include_query_text` Boolean, whether to include the query text in the + generated files. [boolean] [default: false] - - **Local Persisting:** - `file` Path for the JSON file that will contain operations map. Compiler will write queries in the format: { "md5(queryText) => "queryText", ...}. [string] + - `include_query_text` Boolean, whether to include the query text in the + generated files. [boolean] [default: false] - `codegenCommand` Command name that for relay compiler. [string]