Comparing version 0.4.8 to 0.4.9
{ | ||
"name": "graphql", | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"description": "A Query Language and Runtime which can target any service.", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -208,3 +208,3 @@ | ||
// Assert argument set invariance. | ||
// Assert additional arguments must not be required. | ||
objectField.args.forEach(function (objectArg) { | ||
@@ -215,3 +215,5 @@ var argName = objectArg.name; | ||
}); | ||
(0, _jsutilsInvariant2['default'])(ifaceArg, iface + '.' + fieldName + ' does not define argument "' + argName + '" but ' + (object + '.' + fieldName + ' provides it.')); | ||
if (!ifaceArg) { | ||
(0, _jsutilsInvariant2['default'])(!(objectArg.type instanceof _definition.GraphQLNonNull), object + '.' + fieldName + '(' + argName + ':) is of required type ' + ('"' + objectArg.type + '" but is not also provided by the ') + ('interface ' + iface + '.' + fieldName + '.')); | ||
} | ||
}); | ||
@@ -218,0 +220,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
295096
7796