bjorn 9 роки тому
батько
коміт
b506b98b68
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      graphql/rules.lua

+ 1 - 1
graphql/rules.lua

@@ -485,7 +485,7 @@ function rules.variableUsageAllowed(node, context)
 
               return false
             elseif subType.__type == 'NonNull' then
-              return typeIsSubTypeOf(subType.ofType, superType)
+              return isTypeSubTypeOf(subType.ofType, superType)
             end
 
             if superType.__type == 'List' then