mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
reword a comment
This commit is contained in:
parent
bf2de78ea3
commit
87b1b5718d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user