-
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-generator: Stop Failing on Annotations inside Container Types
Problem Scrooge is incapable of properly parsing Thrift IDL when a container type (e.g. list, set, map) contains (an) annotation(s) inside the container type itself. For example, if the type is 'list<i64>', the 'i64' component of the list can contain an annotation. If it has one, scrooge chokes on it. Solution Scrooge now properly parses Thrift IDL that contains these types of annotations. However, it currently silently discards them, and doesn't take them into account when doing code generation. If desired, at a later date we can build full support for them. Result Scrooge no longer fails to properly parse Thrift IDL that contains annotations inside of container types. JIRA Issues: CSL-10359 Differential Revision: https://phabricator.twitter.biz/D583284
- Loading branch information
1 parent
39870f0
commit 37edfe5
Showing
3 changed files
with
56 additions
and
12 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