Returns the name for the given type.
Returns the name for the given type.
Composes the naming with the given function f
,
applied on the first result.
Composes the naming with the given function f
,
applied on the first result.
import reactivemongo.api.bson.TypeNaming val tpeNaming: TypeNaming = TypeNaming.SimpleName.andThen(_.toLowerCase)
Naming strategy, to map each class to a discriminator value.