Commit bfa77d6
committed
fix(prisma-next): make the JSON encryptQuery cast suppressions effective
The `searchableJson` encryptQuery call spreads its two `as never` operands
across separate argument lines, so the single `// biome-ignore` above the call
reached neither cast — both still tripped the no-type-erasing-assertions plugin,
and the ignore itself was flagged as an ineffective suppression. Put one ignore
directly above each cast line. Warning-only (CI gates on errors), but resolves
the CodeRabbit thread and the dangling ineffective-suppression note. The scalar
branch was already correct.
Claude-Session: https://claude.ai/code/session_01MxTTPaPP16m6br7Hoab94w1 parent 8db7196 commit bfa77d6
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
249 | 250 | | |
| 251 | + | |
250 | 252 | | |
| 253 | + | |
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
| |||
0 commit comments