reactivemongo.api.bson.TypeNaming$
See theTypeNaming companion trait Attributes
- Companion:
- trait
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Self type
Members list
Concise view
Type members
Uses the class fully qualified name (e.g. java.lang.String
).
Uses the class fully qualified name (e.g. java.lang.String
).
The package naming must be stable (or would require data migrations).
Attributes
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Self type
Uses the class simple name (e.g. String
).
Uses the class simple name (e.g. String
).
Attributes
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Self type
Value members
Creates a type naming according the given function.
Creates a type naming according the given function.
import reactivemongo.api.bson.{ MacroConfiguration, TypeNaming }
val configWithCustomNaming = MacroConfiguration(
typeNaming = TypeNaming { (cls: Class[_]) =>
"custom:" + cls.getSimpleName
})
Attributes