lib/rails/graphql/source.rb
def base_sources
            @@base_sources ||= begin
              eager_load!
              descendants.select(&:abstract?).to_set
            end
          end
# Find all classes that inherits from source that are abstract,
# meaning that they are a base sources
Find all classes that inherits from source that are abstract,
meaning that they are a base sources
Find all classes that inherits from source that are abstract meaning that they are a base sources
def base_sources
            @@base_sources ||= begin
              eager_load!
              descendants.select(&:abstract?).to_set
            end
          end
def base_sources @@base_sources ||= begin eager_load! descendants . select ( & :abstract? ) . to_set end end
Find all classes that inherits from source that are abstract,
meaning that they are a base sources
Find all classes that inherits from source that are abstract meaning that they are a base sources