Class: GraphQL::Tracing::Trace

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/tracing.rb

Direct Known Subclasses

LegacyTrace

Instance Method Summary collapse

Constructor Details

#initialize(multiplex: nil, query: nil, **_options) ⇒ Trace

Returns a new instance of Trace.

Parameters:



32
33
34
35
# File 'lib/graphql/tracing.rb', line 32

def initialize(multiplex: nil, query: nil, **_options)
  @multiplex = multiplex
  @query = query
end

Instance Method Details

#analyze_multiplex(multiplex:) ⇒ Object



49
50
51
# File 'lib/graphql/tracing.rb', line 49

def analyze_multiplex(multiplex:)
  yield
end

#analyze_query(query:) ⇒ Object



53
54
55
# File 'lib/graphql/tracing.rb', line 53

def analyze_query(query:)
  yield
end

#authorized(query:, type:, object:) ⇒ Object



77
78
79
# File 'lib/graphql/tracing.rb', line 77

def authorized(query:, type:, object:)
  yield
end

#authorized_lazy(query:, type:, object:) ⇒ Object



81
82
83
# File 'lib/graphql/tracing.rb', line 81

def authorized_lazy(query:, type:, object:)
  yield
end

#execute_field(field:, query:, ast_node:, arguments:, object:) ⇒ Object



69
70
71
# File 'lib/graphql/tracing.rb', line 69

def execute_field(field:, query:, ast_node:, arguments:, object:)
  yield
end

#execute_field_lazy(field:, query:, ast_node:, arguments:, object:) ⇒ Object



73
74
75
# File 'lib/graphql/tracing.rb', line 73

def execute_field_lazy(field:, query:, ast_node:, arguments:, object:)
  yield
end

#execute_multiplex(multiplex:) ⇒ Object



57
58
59
# File 'lib/graphql/tracing.rb', line 57

def execute_multiplex(multiplex:)
  yield
end

#execute_query(query:) ⇒ Object



61
62
63
# File 'lib/graphql/tracing.rb', line 61

def execute_query(query:)
  yield
end

#execute_query_lazy(query:, multiplex:) ⇒ Object



65
66
67
# File 'lib/graphql/tracing.rb', line 65

def execute_query_lazy(query:, multiplex:)
  yield
end

#lex(query_string:) ⇒ Object



37
38
39
# File 'lib/graphql/tracing.rb', line 37

def lex(query_string:)
  yield
end

#parse(query_string:) ⇒ Object



41
42
43
# File 'lib/graphql/tracing.rb', line 41

def parse(query_string:)
  yield
end

#resolve_type(query:, type:, object:) ⇒ Object



85
86
87
# File 'lib/graphql/tracing.rb', line 85

def resolve_type(query:, type:, object:)
  yield
end

#resolve_type_lazy(query:, type:, object:) ⇒ Object



89
90
91
# File 'lib/graphql/tracing.rb', line 89

def resolve_type_lazy(query:, type:, object:)
  yield
end

#validate(query:, validate:) ⇒ Object



45
46
47
# File 'lib/graphql/tracing.rb', line 45

def validate(query:, validate:)
  yield
end