We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70deafb commit 77695c7Copy full SHA for 77695c7
pkg/response/optimize.go
@@ -22,6 +22,7 @@ const maxFlattenDepth = 2
22
var preservedFields = map[string]bool{
23
"html_url": true,
24
"draft": true,
25
+ "prerelease": true,
26
}
27
28
// collectionFieldExtractors controls how array fields are handled instead of being summarized as "[N items]".
@@ -33,6 +34,7 @@ var preservedFields = map[string]bool{
33
34
var collectionFieldExtractors = map[string][]string{
35
"labels": {"name"},
36
"requested_reviewers": {"login"},
37
+ "requested_teams": {"name"},
38
39
40
// MarshalItems is the single entry point for response optimization.
0 commit comments