lib/clowne/adapters/sequel/resolvers/association.rb in clowne-1.3.0 vs lib/clowne/adapters/sequel/resolvers/association.rb in clowne-1.4.0
- old
+ new
@@ -4,10 +4,9 @@
module Adapters # :nodoc: all
class Sequel
module Resolvers
class Association
class << self
- # rubocop: disable Metrics/ParameterLists
def call(source, record, declaration, adapter:, params:, **_options)
with_clonable(source, record, declaration) do
reflection = source.class.association_reflections[declaration.name.to_sym]
cloner_class = Associations.cloner_for(reflection)