From ebf4f4d24edd790b477cce62780693ba426d254d Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 2 Feb 2021 07:15:30 +0100 Subject: Update stack snapshot to 17.x. --- src/Language/GraphQL/Validate/Rules.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Language') diff --git a/src/Language/GraphQL/Validate/Rules.hs b/src/Language/GraphQL/Validate/Rules.hs index 73b8029..3fcfb96 100644 --- a/src/Language/GraphQL/Validate/Rules.hs +++ b/src/Language/GraphQL/Validate/Rules.hs @@ -1404,7 +1404,7 @@ variablesInAllowedPositionRule = OperationDefinitionRule $ \case mapDirectives variables = fmap fold <$> traverse (findDirectiveVariables variables) lookupInputObject variables objectFieldValue locationInfo - | Full.Node{ node = Full.Object objectFields, ..} <- objectFieldValue + | Full.Node{ node = Full.Object objectFields } <- objectFieldValue , Just (expectedType, _) <- locationInfo , In.InputObjectBaseType inputObjectType <- expectedType , In.InputObjectType _ _ fieldTypes' <- inputObjectType = @@ -1423,7 +1423,7 @@ variablesInAllowedPositionRule = OperationDefinitionRule $ \case -> ValidationState m (Seq Error) findArgumentVariables variables argumentTypes argument | Full.Argument argumentName argumentValue _ <- argument - , Full.Node{ node = Full.Variable variableName, ..} <- argumentValue + , Full.Node{ node = Full.Variable variableName } <- argumentValue = maybeUsageAllowed variableName variables $ locationPair extractArgument argumentTypes argumentName | Full.Argument argumentName argumentValue _ <- argument -- cgit v1.2.3