servicecomb-java-chassis icon indicating copy to clipboard operation
servicecomb-java-chassis copied to clipboard

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

Open Joseph-Wheat-Carryier opened this issue 2 years ago • 1 comments

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

Expected:

抛出异常: ConstraintViolationException

Actual:

被Edge的QueryProcesserCreator抛出 Parameter is required.

Joseph-Wheat-Carryier avatar Mar 12 '24 17:03 Joseph-Wheat-Carryier

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

liubao68 avatar Mar 15 '24 14:03 liubao68