registerCodec

fun registerCodec(codec: TypeCodec<*>)

Registers a custom codec. If OID and schema are missing (dynamic type in multi-schema), it will be mapped globally for deserialization but resolved in-flight for serialization.