When an annotation class extends this trait, annotation processing macros (e.g. for GenCodec materialization)
will look into annotations of the aggregating annotation itself and apply these annotations as if they were
applied directly on the same target as the aggregating annotation. Example:
In the above example, applying @mongoId annotation on the id field has the same effect as if
annotations @name("_id") @outOfOrder were applied directly on that field.
When an annotation class extends this trait, annotation processing macros (e.g. for
GenCodec
materialization) will look into annotations of the aggregating annotation itself and apply these annotations as if they were applied directly on the same target as the aggregating annotation. Example:In the above example, applying
@mongoId
annotation on theid
field has the same effect as if annotations@name("_id") @outOfOrder
were applied directly on that field.