Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge会拦截query类型的请求校验, 然后抛出Parameter is required,丢失了参数校验的message #4265

Open
Joseph-Wheat-Carryier opened this issue Mar 12, 2024 · 1 comment

Comments

@Joseph-Wheat-Carryier
Copy link

public class Foo {
    @NotNull(message = "not null")
    private String bar;
}

Expected:

抛出异常: ConstraintViolationException

Actual:

被Edge的QueryProcesserCreator抛出 Parameter is required.

@liubao68
Copy link
Contributor

目前的实现机制决定了很难满足你提的要求。现有的机制理应不会造成大的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants