lib/rails/graphql/source.rb
# Find all the schemas associated with the configured namespaces
Find all the schemas associated with the configured namespaces
Find all the schemas associated with the configured namespaces
def refresh_schemas!
          @schemas = (namespaces.presence || DEFAULT_NAMESPACES).map do |ns|
            (schema = Schema.find(ns)).present? ? [ns, schema] : nil
          end.compact.to_h
        end
def refresh_schemas! @schemas = ( namespaces . presence || DEFAULT_NAMESPACES ) . map do | ns | ( schema = Schema . find ( ns ) ) . present? ? [ ns , schema ] : nil end . compact . to_h end
Find all the schemas associated with the configured namespaces
Find all the schemas associated with the configured namespaces