diff --git a/src/Validator/ConfigValidator/Rules/TypeValidationRule.php b/src/Validator/ConfigValidator/Rules/TypeValidationRule.php index 5810328a..d6bf5659 100644 --- a/src/Validator/ConfigValidator/Rules/TypeValidationRule.php +++ b/src/Validator/ConfigValidator/Rules/TypeValidationRule.php @@ -48,7 +48,8 @@ public function validate($data, $ruleInfo) || $data instanceof AbstractInterfaceType || $data instanceof AbstractUnionType || $data instanceof AbstractEnumType - || $data instanceof AbstractScalarType; + || $data instanceof AbstractScalarType + || $data instanceof AbstractInputObjectType; case TypeMap::TYPE_OBJECT_INPUT_TYPE: return $data instanceof AbstractInputObjectType; @@ -174,4 +175,4 @@ private function isInputField($data, $name = null) return false; } -} \ No newline at end of file +}