opened
tushar19
username_0
### Problem

New Java-passthrough feature was introduced [here](https://github.com/twitter/scrooge/commit/a619ef7626eabbfa7f8515acfe48f645edf6720c). However, ScroogeGen forces "Thrift dependency trees must be generated with a uniform compiler configuration" which means enabling this flag for one target requires enabling it for the entire dependency tree. 

### Solution

Introduce an allowlist_compiler_args option which filters out allow-listed compiler args when validating compiler config.

### Result

--java-passthrough can be included in any top level thrift without having it to force it everywhere in the dependency tree.
Adding allowlist_compiler_args in ScroogeGen
issue
created
blorente
username_1
CI failed on the shard that checks formatting and typing. You might want to follow [these instructions](https://www.pantsbuild.org/howto_contribute.html#getting-pants-source-code) to set up a pre-commit hook that will check all those things for you, and give handy commands to fix most of it.
comment
created
cosmicexplorer
username_2
Great feature, I really like the help text!
comment