Commit 2fba7fa
committed
fix(parser): add default case to the ColumnsTransformer type switch
Satisfies the PMD exhaustive-switch rule (Codacy '1 new issue') and fails
loudly if a future ColumnsTransformerType constant is added without
updating appendTo; unreachable for the current APPLY/EXCEPT/REPLACE
constants, so behavior is unchanged. Same pattern as JsonFunction's
Unhandled JsonOnResponseBehavior guard.
Signed-off-by: 付典 <fudianchn@gmail.com>1 parent 6f1ae6d commit 2fba7fa
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
0 commit comments