Skip to content

Missing @Repeatable annotation on SpELAssert #10

@Martin-BG

Description

@Martin-BG

Hello,

As the title says, there's no @repeatable meta annotation on SpELAssert, preventing use of multiple annotations on the same element.

Other than that, SpELAssert seems to be configured to be used in such scenarios:

@Documented
@Retention(RUNTIME)
@Target({METHOD, FIELD, TYPE})
@interface List {
    SpELAssert[] value();
} 

Edit:
Adding @Repeatable(SpELAssert.List.class) to SpELAssert seems to work properly in my tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions