Class: GraphQL::Client::OperationDefinition
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Definition ,
Module
|
|
Instance Chain:
self,
Definition ,
Module
|
|
Inherits: |
GraphQL::Client::Definition
|
Defined in: | lib/graphql/client/operation_definition.rb |
Overview
Specific operation definition subtype for queries, mutations or subscriptions.
Constant Summary
Definition
- Inherited
Class Method Summary
Definition
- Inherited
Instance Attribute Summary
Definition
- Inherited
#client | Internal: Get associated owner |
#definition_node | Internal: Get underlying operation or fragment definition AST node for definition. |
#document | Public: Get document with only the definitions needed to perform this operation. |
#schema_class | Internal root schema class for definition. |
#source_document | Internal: Get original document that created this definition, without any additional dependencies. |
#source_location | Public: Returns the Ruby source filename and line number containing this definition was not defined in Ruby. |
Instance Method Summary
-
#operation_name
Alias for Definition#definition_name.
Definition
- Inherited
#definition_name | Public: Global name of definition in client document. |
#indexes | Internal: Nodes AST indexes. |
#new, #cast_object, #flatten_spreads, #index_node_definitions, #index_spreads |
Constructor Details
This class inherits a constructor from GraphQL::Client::Definition
Instance Method Details
#operation_name
Alias for Definition#definition_name.
# File 'lib/graphql/client/operation_definition.rb', line 11
alias operation_name definition_name