xmolecules/jmolecules

Enable annotations to be used as meta-annotations

StephanPirnbaum opened this issue · 2 comments

As discussed in the PR #39 , annotations should be usable as meta-annotations.

This should be added for:

  • jmolecules-architecture-cqrs
  • jmolecules-ddd (except BoundedContext?)
  • jmolecules-events

Does it make sense to add it to the layer and ring architecture? I don't think so, but let's discuss it.

Actually that's already in place. Mots of our annotations declare ElementType.TYPE which includes ….ANNOTATION_TYPE. The ones not declaring ElementType.TYPE like @BoundedContext already contain ElementType.ANNOTATION_TYPE explicitly.

Indeed. Missed that. PR #39 will directly contain meta-annotations.