Skip to content

Commit d3fdcf4

Browse files
Filip Franceticfacebook-github-bot
Filip Francetic
authored andcommitted
Fix some wording in the IDL definition around annotations
Summary: Package annotations don't have generic behaviour, so the old wording here wasn't clear, fixing that. Created from CodeHub with https://fburl.com/edit-in-codehub Reviewed By: yoney, iahs Differential Revision: D59656273 fbshipit-source-id: 3ae421bdefb66f880892dd008f3723f70f7276c2
1 parent 356b1b1 commit d3fdcf4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

thrift/doc/idl/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,9 @@ In both cases the Python namespaces don't include the file name component.
324324

325325
The default namespace can be overriden for individual target languages with the [namespace directive](#namespace-directives).
326326

327-
Annotations on a package declaration apply to the whole file. For example:
327+
Annotations on a package declaration apply to the file broadly, with the exact behaviour defined by the specific annotation.
328+
329+
For example, the following annotation would apply to all [unqualified fields](#field-qualifiers) in a given file:
328330

329331
```thrift
330332
@cpp.TerseWrite

0 commit comments

Comments
 (0)