Skip to content

Commit

Permalink
Fix some own_references_to accesses
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Jun 11, 2024
1 parent a5c0ee8 commit c629573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/graphql/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1530,13 +1530,13 @@ def own_multiplex_analyzers

# This is overridden in subclasses to check the inheritance chain
def get_references_to(type_defn)
@own_references_to[type_defn]
own_references_to[type_defn]
end
end

module SubclassGetReferencesTo
def get_references_to(type_defn)
own_refs = @own_references_to[type_defn]
own_refs = own_references_to[type_defn]
inherited_refs = superclass.references_to(type_defn)
if inherited_refs&.any?
if own_refs&.any?
Expand Down

0 comments on commit c629573

Please sign in to comment.