You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/12/12 15:54:54 UTC

[GitHub] [beam] ccciudatu commented on pull request #13539: [BEAM-11338] Addendum: handle private fields in generated thrift code

ccciudatu commented on pull request #13539:
URL: https://github.com/apache/beam/pull/13539#issuecomment-743775901


   R: @TheNeuralBit Just realised that https://github.com/apache/beam/pull/13428 does not work with the `beans` thrift compiler option, which renders all fields private. The fix is to use `getDeclaredField()` instead of `getField()`, thus making no assumptions about fields visibility.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org