This allows passing arbitrary build flags to the schema package loader,
which in turn can be used to pass build constraints affecting what
schema types and/or methods are visible.
As a particular use case, this should make it easier to implement
two-pass code generation to deal with circular imports in hooks (#892).
Summary: In some cases (like xwf auth service), you want to add additional fields to the generated model.
Reviewed By: alexsn
Differential Revision: D17223674
fbshipit-source-id: fb4be71b388c6bd107e6bac242133c237fe25599
Summary:
Go plugin is not a good solution for both internal and external usage.
It's hard to manage and maintain matching versions (both Go and external libraries), and it does not support Windows.
Reviewed By: alexsn
Differential Revision: D16582217
fbshipit-source-id: 81876d2c6f30bbfc16ecf9e5000f0670f2e62484