Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc committed Jan 16, 2025
1 parent f8c134a commit 9d7293d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/datadog/tracing/contrib/graphql/unified_trace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def execute_field_lazy(*args, **kwargs)
execute_field_span(proc { super }, 'resolve_lazy', **kwargs)
end

def authorized_span(callable, span_key, **kwargs)
def authorized_span(callable, span_key, *args, **kwargs)
puts "authorized_span:authorized_span:#{callable},#{span_key},#{args},#{kwargs}"
platform_key = @platform_key_cache[UnifiedTrace].platform_authorized_key_cache[kwargs[:type]]
trace(callable, span_key, platform_key, kwargs)
end
Expand Down

0 comments on commit 9d7293d

Please sign in to comment.