Skip to content

Commit 1766405

Browse files
Kinga Bojarczukfacebook-github-bot
authored andcommitted
add package name to API
Summary: following the schema change handle package name in the API if null, preserve the previous behaviour if passed in, query on package Differential Revision: D79089361 fbshipit-source-id: dd1b3f9b549c1d03e5a8ddd33f8c2f42258d5b0b
1 parent d422dc9 commit 1766405

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

glean/glass/if/glass.thrift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,15 @@ struct AttributeOptions {
104104
6: bool fetch_assembly_data = false;
105105
7: bool fetch_strobelight_frames = false;
106106
8: bool fetch_default_view = false;
107+
9: optional PackageName package_name;
107108
}
108109

109110
typedef string ServiceID (hs.newtype)
110111

111112
typedef string BinaryName (hs.newtype)
112113

114+
typedef string PackageName (hs.newtype)
115+
113116
// Generic request options, supported by most calls
114117
struct RequestOptions {
115118
// repo-global preferred revision identifier

0 commit comments

Comments
 (0)