UseMapTypeConverter

Deprecated (with error)

Removed in 2.0: @UseMapTypeConverter(converter = X::class) became @ConvertWith(use = X::class). @ConvertWith also carries the per-field failure policy: @ConvertWith(use = X::class, onFail = OnFail.Throw).

Replace with

import com.sahsenvar.kmapper.annotations.ConvertWith
ConvertWith

1.x name of ConvertWith. Note the parameter rename: 1.x converter = X::class is 2.0 use = X::class (plus the new per-field onFail policy).