Method: GraphQL::StaticValidation::BaseVisitor::ContextMethods#on_input_object
- Defined in:
- lib/graphql/static_validation/base_visitor.rb
#on_input_object(node, parent) ⇒ Object
132 133 134 135 136 137 138 139 140 141 |
# File 'lib/graphql/static_validation/base_visitor.rb', line 132 def on_input_object(node, parent) arg_defn = @argument_definitions.last if arg_defn && arg_defn.type.list? @path.push(parent.children.index(node)) super @path.pop else super end end |