Skip to content

Commit

Permalink
Make executor_class optional in trace class
Browse files Browse the repository at this point in the history
Otherwise `Schema.new_trace` will require `executor_class` as a keyword
arg which is the wrong place to pass it in.
  • Loading branch information
swalkinshaw committed Feb 20, 2024
1 parent 8e88b28 commit a9c0294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/graphql/batch/setup_multiplex.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def after_multiplex(multiplex)
end

module Trace
def initialize(executor_class:, **_rest)
def initialize(executor_class: nil, **_rest)
@executor_class = executor_class
super
end
Expand Down

0 comments on commit a9c0294

Please sign in to comment.