Repository navigation
Commit 3f3d8b7
fix(git): accept an absent head commit under exact optional properties
`ChangeRequest.headRefOid` is a `Schema.optional` field, so its type admits
an explicit `undefined`. `PullRequestInfo` declared it as `string | null`,
which `exactOptionalPropertyTypes` rejects once a mapped change request is
spread into it — as the Forgejo head-matching test now does. Widen it the
way the neighbouring `PullRequestHeadRemoteInfo` fields already are.
Co-Authored-By: Claude Opus 5 <[email protected]>1 parent 1e05423 commit 3f3d8b7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
0 commit comments