From 120de940a6957b4ad93cb7c59cd9b74e91e316fc Mon Sep 17 00:00:00 2001 From: Lokprakash-babu Date: Tue, 21 Jun 2022 17:39:30 +0530 Subject: [PATCH 1/2] minor docs fix --- src/content/learn/Learn-Queries.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/learn/Learn-Queries.md b/src/content/learn/Learn-Queries.md index 6d9992fd30..7f378dd99a 100644 --- a/src/content/learn/Learn-Queries.md +++ b/src/content/learn/Learn-Queries.md @@ -151,6 +151,7 @@ fragment comparisonFields on Character { } } ``` +If you observe carefully there is a new `query` keyword. Let's discuss about it in [Operation name](#operation-name). ## Operation name From d8d0e7ea81f3644c905955d9cd3130b311b76114 Mon Sep 17 00:00:00 2001 From: hwillson Date: Wed, 21 Dec 2022 18:40:10 -0500 Subject: [PATCH 2/2] Slight wording tweak --- src/content/learn/Learn-Queries.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/content/learn/Learn-Queries.md b/src/content/learn/Learn-Queries.md index 7f378dd99a..ee45884e6e 100644 --- a/src/content/learn/Learn-Queries.md +++ b/src/content/learn/Learn-Queries.md @@ -151,11 +151,10 @@ fragment comparisonFields on Character { } } ``` -If you observe carefully there is a new `query` keyword. Let's discuss about it in [Operation name](#operation-name). ## Operation name -Up until now, we have been using a shorthand syntax where we omit both the `query` keyword and the query name, but in production apps it's useful to use these to make our code less ambiguous. +In several of the examples above we have been using a shorthand syntax where we omit both the `query` keyword and the query name, but in production apps it's useful to use these to make our code less ambiguous. Here’s an example that includes the keyword `query` as _operation type_ and `HeroNameAndFriends` as _operation name_ :