Sha256: 6faed203e95542e41489ed7358edcafd52b95c39454b862dff3af02fee1d0f97
Contents?: true
Size: 433 Bytes
Versions: 11
Compression:
Stored size: 433 Bytes
Contents
class GraphQL::StaticValidation::ArgumentsAreDefined < GraphQL::StaticValidation::ArgumentsValidator def validate_node(parent, node, defn, context) argument_defn = defn.arguments[node.name] if argument_defn.nil? context.errors << message("#{parent.class.name.split("::").last} '#{parent.name}' doesn't accept argument #{node.name}", parent) GraphQL::Language::Visitor::SKIP else nil end end end
Version data entries
11 entries across 11 versions & 1 rubygems