Method: GraphQL::Query#selected_operation_name
- Defined in:
- lib/graphql/query.rb
#selected_operation_name ⇒ String?
Returns The name of the operation to run (may be inferred).
116 117 118 119 |
# File 'lib/graphql/query.rb', line 116 def selected_operation_name return nil unless selected_operation selected_operation.name end |