We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 073163b commit f4d99f6Copy full SHA for f4d99f6
lib/graphql/tracing/platform_tracing.rb
@@ -115,6 +115,9 @@ def fallback_transaction_name(context)
115
#
116
# If the key isn't present, the given block is called and the result is cached for `key`.
117
118
+ # @param ctx [GraphQL::Query::Context]
119
+ # @param key [Class, GraphQL::Field] A part of the schema
120
+ # @param trace_phase [Symbol] The stage of execution being traced (used by OpenTelementry tracing)
121
# @return [String]
122
def cached_platform_key(ctx, key, trace_phase)
123
cache = ctx.namespace(self.class)[:platform_key_cache] ||= {}
0 commit comments