Method: GraphQL::Language::Nodes::OperationDefinition#operation_type

Defined in:
lib/graphql/language/nodes.rb

#operation_typeString?

Returns The root type for this operation, or nil for implicit "query".

Returns:

  • The root type for this operation, or nil for implicit "query"



# File 'lib/graphql/language/nodes.rb', line 585