lib/rails/graphql/request.rb
# Log the execution of a GraphQL document
Log the execution of a GraphQL document
Log the execution of a GraphQL document
def log_execution(document)
          ActiveSupport::Notifications.instrument('request.graphql') do |payload|
            yield.tap { log_payload(document, payload) }
          end
        end
def log_execution ( document ) ActiveSupport :: Notifications . instrument ( 'request.graphql' ) do | payload | yield . tap { log_payload ( document , payload ) } end end
Log the execution of a GraphQL document
Log the execution of a GraphQL document
document