def load_relations(mappers)
      global_plugins = plugins.select { |p| p.relation? || p.schema? }

      FinalizeRelations.new(
        gateways,
        relation_classes,
        mappers: mappers,
        plugins: global_plugins,
        notifications: notifications
      ).run!
    end
def load_relations(mappers)
      global_plugins = plugins.select { |p| p.relation? || p.schema? }

      FinalizeRelations.new(
        gateways,
        relation_classes,
        mappers: mappers,
        plugins: global_plugins,
        notifications: notifications
      ).run!
    end
Build entire relation registry from all known relation subclasses

 This includes both classes created via DSL and explicit definitions

 @api private