Skip to content

Commit

Permalink
moved dynamically loaded require to top level loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
vpellan committed Jul 11, 2024
1 parent 93ef101 commit 5f4f191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/datadog/appsec/contrib/graphql/gateway/multiplex.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require 'graphql/language/nodes'

require_relative '../../../instrumentation/gateway/argument'

module Datadog
Expand Down Expand Up @@ -27,7 +29,6 @@ def queries
private

def create_arguments_hash
require 'graphql/language/nodes'
args = {}
@multiplex.queries.each_with_index do |query, index|
resolver_args = {}
Expand Down

0 comments on commit 5f4f191

Please sign in to comment.