io.github.mbannour.bson.macros

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

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 Object
trait Matchable
class Any
Self type

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 Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type