Method: GraphQL::Client::Definition#definition_node

Defined in:
lib/graphql/client/definition.rb

#definition_nodeObject (readonly)

Internal: Get underlying operation or fragment defintion AST node for definition.

Returns OperationDefinition or FragmentDefinition object.

[View source]

34
35
36
# File 'lib/graphql/client/definition.rb', line 34

def definition_node
  @definition_node
end