io.github.mbannour.bson.macros
package io.github.mbannour.bson.macros
Members list
Type members
Classlikes
object AnnotationName
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AnnotationName.type
object CaseClassBsonWriter
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CaseClassBsonWriter.type
object CaseClassFactory
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CaseClassFactory.type
object CaseClassFieldMapper
Provides a macro to generate a mapping for case class field type arguments.
Provides a macro to generate a mapping for case class field type arguments.
The macro produces a Map where:
- The outer keys are the names (as determined by the case class’s type symbol) of the case classes.
- The inner maps have keys representing field names (which may be overridden via annotations) and values as lists of runtime Class objects for the flattened type arguments of that field.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CaseClassFieldMapper.type
object CaseClassMapper
Provides macros for mapping a discriminator (simple class name) to the runtime Class of a case class. This is especially useful for sealed hierarchies where a custom annotation may override the default name.
Provides macros for mapping a discriminator (simple class name) to the runtime Class of a case class. This is especially useful for sealed hierarchies where a custom annotation may override the default name.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CaseClassMapper.type
object ClassToCaseFlagMap
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ClassToCaseFlagMap.type
In this article