Skip to content

Commit

Permalink
Update visitor.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
francisbeaudoin authored Oct 11, 2024
1 parent 3ddf36b commit 88a4fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/graphql/analysis/visitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def response_path

# Visitor Hooks
[
:operation_definition, :fragment_definition,
:inline_fragment, :field, :directive, :argument, :fragment_spread
:field, :operation_definition, :fragment_definition,
:inline_fragment, :directive, :argument, :fragment_spread
].each do |node_type|
module_eval <<-RUBY, __FILE__, __LINE__
def call_on_enter_#{node_type}(node, parent)
Expand Down

0 comments on commit 88a4fc3

Please sign in to comment.