Skip to content

Hibernate Bean Validation does not respect modularity #1333

Description

@alexanderfedinatnasa

Hibernate Bean Validation does not respect modularity.
If I configure Bean Validation right in the App.java, then the validation happens.
If I do the same within the MVC Route initialization block, then it gets ignored.
{
parser(Parser.bean(true));
use(new Hbv(
MetaDataTestSite.class,
ConPreRunRange.class,
LatLonAltArray.class
).doWith(cfg -> {
cfg.failFast(true);
}));
}
Also, validator does not render any precise error messages about what exactly did not match the validation rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions