summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-11-07 18:18:12 +0100
committerEugen Wissner <belka@caraus.de>2024-11-07 18:18:12 +0100
commit27a5a0b44eb8568c53039f982c98cd07c3aef3c2 (patch)
tree0ed05bf3a87f1b77455952b779adaa5dca5c2276 /src
parent97627ffc3615be45e90a3bee231f9570ecc0193d (diff)
downloadgraphql-27a5a0b44eb8568c53039f982c98cd07c3aef3c2.tar.gz
Adjust wording according to the 2021 specification
Diffstat (limited to 'src')
-rw-r--r--src/Language/GraphQL/Validate/Rules.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Language/GraphQL/Validate/Rules.hs b/src/Language/GraphQL/Validate/Rules.hs
index 3fef94d..3d66125 100644
--- a/src/Language/GraphQL/Validate/Rules.hs
+++ b/src/Language/GraphQL/Validate/Rules.hs
@@ -856,8 +856,8 @@ knownArgumentNamesRule = ArgumentsRule fieldRule directiveRule
, "\"."
]
--- | GraphQL servers define what directives they support. For each usage of a
--- directive, the directive must be available on that server.
+-- | GraphQL services define what directives they support. For each usage of a
+-- directive, the directive must be available on that service.
knownDirectiveNamesRule :: Rule m
knownDirectiveNamesRule = DirectivesRule $ const $ \directives' -> do
definitions' <- asks $ Schema.directives . schema
@@ -909,9 +909,9 @@ knownInputFieldNamesRule = ValueRule go constGo
, "\"."
]
--- | GraphQL servers define what directives they support and where they support
+-- | GraphQL services define what directives they support and where they support
-- them. For each usage of a directive, the directive must be used in a location
--- that the server has declared support for.
+-- that the service has declared support for.
directivesInValidLocationsRule :: Rule m
directivesInValidLocationsRule = DirectivesRule directivesRule
where