priority

open override val priority: Double = 0.2

The priority of this type mapper used for ordering during mapper resolution.

Mappers with higher priority values are consulted first when the registry searches for a suitable mapper. This allows more specific or custom mappers to override default implementations. The default priority is 0.

Common priority ranges:

  • High priority (0.5+, 1.]: Custom user mappers that should override defaults

  • Standard priority (0., 0.5]: Priority of default Exposed type mappers

  • Default priority (0.)

Return

The priority value, with higher values indicating higher priority