job51-gitlab-cr-node-jt-1 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,6 +33,12 @@
|
|
|
33
33
|
|
|
34
34
|
5. **⚠️ 特别强调**:当前 CR 流程处于版本开发的最后合并阶段,代码逻辑已经过开发自测和 QA 测试验证。审查时应**基于项目原有的代码风格**,不得强制要求添加项目惯例中不存在的内容。
|
|
35
35
|
> - **⚠️ 风格一致性原则**:参数校验、异常处理、注解使用等应与项目原有风格匹配,**不得报告"建议添加 XX 注解/XX 校验/XX 异常处理"** 这类问题。
|
|
36
|
+
> - **⚠️ Controller/Client 接口参数校验放宽**:
|
|
37
|
+
> - Controller 接口方法、Client 接口方法的参数校验**以项目原有风格为准**
|
|
38
|
+
> - 如果项目现有接口多数没有添加 `@NotNull`、`@NotBlank`、`@Valid` 等校验注解,**不得建议添加**
|
|
39
|
+
> - 如果项目现有接口多数没有显式参数判空逻辑,**不得建议添加**
|
|
40
|
+
> - 参数校验形式应参考同文件/同模块其他接口的写法,保持一致性
|
|
41
|
+
> - **仅在校验风格与同一文件中其他接口明显不一致时**,才需要提示
|
|
36
42
|
|
|
37
43
|
0. **Diff 数据结构与上下文读取规则**:
|
|
38
44
|
> - **临时文件格式说明**:
|