reactivemongo.api.bson.MacroOptions
See theMacroOptions companion object
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 Objecttrait Matchableclass Any
- Known subtypes
-
trait Defaulttrait AutomaticMaterializationtrait DisableWarningstrait ReadDefaultValuestrait UnionType[Types]trait Verbose
In this article