Identity

object Identity extends FieldNaming

For each class property, use the name as is for its field (e.g. fooBar -> fooBar).

import reactivemongo.api.bson.{ FieldNaming, MacroConfiguration }

val cfg: MacroConfiguration =
 MacroConfiguration(fieldNaming = FieldNaming.Identity)
trait String => String
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(property: String): String

Inherited methods

def andThen[A](g: String => A): String => A
Inherited from:
Function1
def compose[A](g: A => String): A => String
Inherited from:
Function1

Concrete fields

override val toString: String