Module: Skylight::Probes::GraphQL::InstrumentationV2::ExecuteQueryLazyNotification Private
- Defined in:
- lib/skylight/probes/graphql.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
GraphQL versions >= 2.5 are missing this notification
Instance Method Summary collapse
Instance Method Details
#execute_query_lazy(**metadata, &blk) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
54 55 56 57 58 59 60 61 62 63 |
# File 'lib/skylight/probes/graphql.rb', line 54 def execute_query_lazy(**, &blk) if @notifications_engine @notifications_engine.instrument("execute_query_lazy.graphql", , &blk) elsif @notifications @notifications.instrument("execute_query_lazy.graphql", , &blk) else # safety fallback in case graphql's authors unexpectedly rename @notifications_engine or @notifications super end end |