module Dry::Initializer::Dispatchers::BuildNestedType

def call(parent:, source:, target:, type: nil, block: nil, **options)

rubocop: disable Metrics/ParameterLists
def call(parent:, source:, target:, type: nil, block: nil, **options)
  check_certainty!(source, type, block)
  check_name!(target, block)
  type ||= build_nested_type(parent, target, block)
  {parent:, source:, target:, type:, **options}
end