Commit d523bc0
committed
refactor(results): update Result class for nullable types
- Adjusts the Result class to enforce non-nullable constraints on generic types.
- Simplifies the results tests by directly checking for null instead of multiple assertions.
- Updates method signatures for better type safety and clarity.1 parent 81dd1bf commit d523bc0
2 files changed
Lines changed: 3 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 13 | + | |
24 | 14 | | |
25 | 15 | | |
26 | 16 | | |
| |||
121 | 111 | | |
122 | 112 | | |
123 | 113 | | |
124 | | - | |
| 114 | + | |
125 | 115 | | |
126 | 116 | | |
127 | 117 | | |
0 commit comments