Browse Source
We now resolve aliased attribute values when reading @Document on entity types. This allows creation of composed annotations like: @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE }) @Document static @interface ComposedDocumentAnnotation { @AliasFor(annotation = Document.class, attribute = "collection") String name() default "custom-collection-name"; } Original pull request: #347. Related issue: DATACMNS-825.pull/348/head
2 changed files with 29 additions and 3 deletions
Loading…
Reference in new issue