lib/rails/graphql/source/active_record/builders.rb
def each_reflection(holder)
        skip_fields = skips_for(holder).map(&:to_s)
        model._reflections.each_value do |reflection|
          next if skip_fields.include?(reflection.name.to_s)

          reflection = model._reflections[reflection.to_s] \
            unless reflection.is_a?(abstract_reflection)

          yield reflection unless reflection.nil?
        end
      end
# Iterate over all the model reflections
# TODO: Turn into an enumerator
Iterate over all the model reflections
TODO: Turn into an enumerator
Iterate over all the model reflections TODO : Turn into an enumerator
def each_reflection(holder)
        skip_fields = skips_for(holder).map(&:to_s)
        model._reflections.each_value do |reflection|
          next if skip_fields.include?(reflection.name.to_s)
          reflection = model._reflections[reflection.to_s] \
            unless reflection.is_a?(abstract_reflection)
          yield reflection unless reflection.nil?
        end
      end
def each_reflection ( holder ) skip_fields = skips_for ( holder ) . map ( & :to_s ) model . _reflections . each_value do | reflection | next if skip_fields . include? ( reflection . name . to_s ) reflection = model . _reflections [ reflection . to_s ] unless reflection . is_a? ( abstract_reflection ) yield reflection unless reflection . nil? end end
Iterate over all the model reflections
TODO: Turn into an enumerator
Iterate over all the model reflections TODO : Turn into an enumerator
holder