Skip to content

Spring shell is defaulting to the base Jakarta validator #493

Closed
@terminalsin

Description

@terminalsin

In the InvocableShellMethod, the doInvoke method reverts to the base Validator as opposed to the context one. This effectively prevents (Spring Boot from injecting beans into the JSR-303 Bean Validation API)[https://docs.spring.io/spring-framework/docs/3.0.0.RC1/reference/html/ch05s07.html].

After some debugging, it's been retraced to the following:
Image

This is most likely a leftover from debugging and should be omitted to allow for the class Validator to be used.

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