-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scrooge: Introduce AnnotatedFieldType to support annotating inner con…
…tainer types # Problem Currently, thrift annotations inside of collection types pass the parser, but are subsequently dropped. # Solution This change adds a new `FieldType` – `AnnotatedFieldType`. This is currently used to support thrift annotations on types inside of containers (maps/lists/sets). But this can be further extended to apply annotations on any `FieldType`. # Result By doing this, annotations inside of collection types are now propagated and are available to downstream compilers. JIRA Issues: CSL-11944 Differential Revision: https://phabricator.twitter.biz/D911997
- Loading branch information
George Leontiev
authored and
jenkins
committed
Jun 30, 2022
1 parent
c37077b
commit 59e91e6
Showing
19 changed files
with
429 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.