Commit 3e78df8
committed
fix: scope the System.Text.Json reference to netstandard2.0, name the failing member
Two issues from review:
- System.Text.Json was referenced unconditionally, pushing a dependency
constraint onto net8.0+ consumers that already have it in-box. Now
conditioned on netstandard2.0, which is the target that actually needs it.
netstandard2.0 still resolves 9.0.9, so there is no NU1605 downgrade.
- Argument validation reported nameof(request) when it was request.Text that
was empty, pointing callers at the wrong member.1 parent 7d31c1b commit 3e78df8
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments