Skip to content

Commit 7a89ae9

Browse files
refactor!: Update package types to align with webhook event (#3515)
BREAKING CHANGE: `PackageVersion.Body` and `PackageVersion.Metadata` are both now `json.RawMessage`.
1 parent 04573be commit 7a89ae9

8 files changed

+2083
-196
lines changed

github/gen-accessors.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ var (
4545
"ErrorResponse.GetResponse": true,
4646
"RateLimitError.GetResponse": true,
4747
"AbuseRateLimitError.GetResponse": true,
48+
"PackageVersion.GetBody": true,
49+
"PackageVersion.GetMetadata": true,
4850
}
4951
// skipStructs lists structs to skip.
5052
skipStructs = map[string]bool{

0 commit comments

Comments
 (0)