class mongoId extends Annotation with AnnotationAggregate

Shortcut annotation for applying @name("_id") and @outOfOrder annotation on a case class field, which is typical for MongoDB ID field.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. mongoId
  2. AnnotationAggregate
  3. StaticAnnotation
  4. Annotation
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new mongoId()

Type Members

  1. abstract type Implied

    Dummy type member meant to be redefined in order to have aggregated annotations applied on it.

    Dummy type member meant to be redefined in order to have aggregated annotations applied on it. These annotations will be automatically picked up by macro engines each time they encounter the aggregating annotation itself. Other than being an "anchor" for annotations, this type member has no actual meaning and there is no reason to ever actually use it. NOTE: a less weird solution would be to put aggregated annotations on the aggregating annotation class itself, but this would make it impossible to access the arguments of aggregating annotation in aggregated annotations.

    Definition Classes
    mongoIdAnnotationAggregate
    Annotations
    @name( name = "_id" ) @outOfOrder()