reword a comment

This commit is contained in:
Karthikeyan Chinnakonda 2020-08-17 14:55:54 +05:30
parent bf2de78ea3
commit 87b1b5718d

View File

@ -408,7 +408,7 @@ validateType permittedVariables value expectedGType types =
assertType :: G.GType -> G.GType -> Validation (NonEmpty ValidationError) ()
assertType actualType expectedType = do
-- The GraphQL spec says that, we can coerce a singleton value into an array
-- value. Which means that if the 'actualType' is a singleton value, like
-- value. Which means that if the 'actualType' is a singleton type, like
-- 'Int' we should be able to join this with a remote node, which expects an
-- input argument of type '[Int]'
-- http://spec.graphql.org/June2018/#sec-Type-System.List