Skip to content

@Size annotation for strings inside Collection not working #372

@zougamohamed

Description

@zougamohamed

Hello there,

I have a Set of Strings in my bean, and when generating a random instance, the generated strings don't respect the annotations.

private Set<@Size(min = 1, max = 10) String> listOfStrings;

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions