Commit 07aa1cf
committed
fix(sql-orm-client): drop non-null assertions + unused castAs in M:N junction artifacts
biome `noNonNullAssertion` (error-on-warnings) flagged the `joinOnPairs[0]!`
/ `correlationPairs[0]!` non-null assertions. Narrow with a truthy guard on
the destructured first element instead, which also removes the castAs (so
its import goes too).
Signed-off-by: Alexey Orlenko's AI Agent <robot@aqrln.net>1 parent a00850c commit 07aa1cf
1 file changed
Lines changed: 5 additions & 4 deletions
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
358 | 357 | | |
359 | 358 | | |
360 | 359 | | |
| 360 | + | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
370 | 371 | | |
371 | | - | |
372 | | - | |
| 372 | + | |
| 373 | + | |
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
| |||
0 commit comments