lib/graphql/analysis/ast/field_usage.rb in graphql-1.10.0.pre1 vs lib/graphql/analysis/ast/field_usage.rb in graphql-1.10.0.pre2

- old
+ new

@@ -9,10 +9,10 @@ @used_deprecated_fields = Set.new end def on_leave_field(node, parent, visitor) field_defn = visitor.field_definition - field = "#{visitor.parent_type_definition.name}.#{field_defn.name}" + field = "#{visitor.parent_type_definition.graphql_name}.#{field_defn.graphql_name}" @used_fields << field @used_deprecated_fields << field if field_defn.deprecation_reason end def result