FlowType allows 3 cases of optional fields and nullable types as explained here: https://stackoverflow.com/questions/37165601/flowtype-how-to-annotate-union-with-optional-fields/37174244#37174244 When a user marks a GraphQL field as NonNull, the current code assumes the 3rd case, which is incorrect. It should assume the 2nd as the GraphQL spec does not allow the 3rd case. https://github.com/joarwilk/gql2flow/blob/master/util/interface.js#L104
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by mikestaub and has received 2 comments.