Skip to content

edison-validation missing a lot of Validation Exceptions in Controller Advice #100

@BeneStem

Description

@BeneStem

Hey guys,

you should add the following controllerAdvices to validation module:

BadRequestException
ConstraintViolationException

extends ResponseEntityExceptionHandler
=> overwrite handleMethodArgumentNotValid method

It would also be nice to not only provide a content-type application/json response but also a text/html response for html requests :)

Thanks!
Best,
/ben

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