This topic created in 268 days ago, the information mentioned may be changed or developed.
当 string username = "跟未设置 username ,如何让检验返回自定义错误?
string username = 2 [
(buf.validate.field).cel = {
id: "username.not_empty",
message: "username not Empty",
expression: "this.size() > 1"
}
];
1 replies • 2025-08-06 23:30:36 +08:00
 |
|
1
qzzz Aug 6, 2025
optional string bar = 1;
|