Skip to content

Commit ef89216

Browse files
committed
Update argument name
1 parent 826625b commit ef89216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphql/schema/warden.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def fields(type_defn); type_defn.all_field_definitions; end # rubocop:disable De
107107
def get_field(parent_type, field_name); @schema.get_field(parent_type, field_name); end
108108
def reachable_type?(type_name); true; end
109109
def loadable?(type, _ctx); true; end
110-
def loadable_possible_types(union_type, _ctx); union_type.possible_types; end
110+
def loadable_possible_types(abstract_type, _ctx); union_type.possible_types; end
111111
def reachable_types; @schema.types.values; end # rubocop:disable Development/ContextIsPassedCop
112112
def possible_types(type_defn); @schema.possible_types(type_defn, Query::NullContext.instance, false); end
113113
def interfaces(obj_type); obj_type.interfaces; end

0 commit comments

Comments
 (0)