Module: NewRelic::Security::Instrumentation::GraphQL::Query::Executor::Chain
- Defined in:
- lib/newrelic_security/instrumentation-security/graphql/chain.rb
Class Method Summary collapse
Class Method Details
.instrument! ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/newrelic_security/instrumentation-security/graphql/chain.rb', line 7 def self.instrument! ::GraphQL::Query::Executor.class_eval do class << self include NewRelic::Security::Instrumentation::GraphQL::Query::Executor alias_method :execute_without_security, :execute def execute execute_on_enter { return execute_without_security } end end end end |