MacroOptions

reactivemongo.api.bson.MacroOptions
See theMacroOptions companion object
sealed trait MacroOptions

Macros with 'Opts' suffix will take additional options in the form of type parameters that will customize behaviour of the macros during compilation.

import reactivemongo.api.bson.{ BSONDocumentWriter, Macros, MacroOptions }

case class Bar(score: Float)

val w: BSONDocumentWriter[Bar] =
 Macros.using[MacroOptions.Default].writer[Bar]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view