Method: GraphQL::Language::SanitizedPrinter#print_variable_identifier
- Defined in:
- lib/graphql/language/sanitized_printer.rb
#print_variable_identifier(variable_id) ⇒ Object
106 107 108 109 110 111 112 113 |
# File 'lib/graphql/language/sanitized_printer.rb', line 106 def print_variable_identifier(variable_id) if @inline_variables variable_value = query.variables[variable_id.name] print_node(value_to_ast(variable_value, @current_input_type)) else super end end |