Skip to content

Raise BindException from GraphQlArgumentBinder with binding errors #280

Closed
@rstoyanchev

Description

@rstoyanchev

Currently it may raise a TypeMismatchException if a constructor argument cannot be converted to the expected type, and others like IllegalStateException, but if DataBinder is used then conversion errors are not checked in the BindingResult. We should ensure a BindException is raised consistently indicating which fields could not be bound.

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