Hey,
i got a bunch of flow errors with the following versions.
Intended outcome:
No flow errors
Actual outcome:
53 errors, like that:
Error: node_modules/apollo-client/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMerged.js.flow:637
637: return type1 instanceof GraphQLList ?
^^^^^^^^^^^ GraphQLList. This type is incompatible with
628: type1: GraphQLOutputType,
^^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | type application of class `GraphQLList` | type application of class `GraphQLNonNull`
How to reproduce the issue:
New project with flow, react-apollo, apollo-client.
.flowconfig
[ignore]
[include]
[libs]
[lints]
[options]
esproposal.decorators=ignore
Version
Same here.
https://github.com/apollographql/react-apollo/issues/1105 was closed but it still doesn't work
This issue has been automatically labled because it has not had recent activity. If you have not received a response from anyone, please mention the repository maintainer (most likely @jbaxleyiii). It will be closed if no further activity occurs. Thank you for your contributions to React Apollo!
This is still broken :/ @jbaxleyiii plz halp
React Apollo no longer supports flow (we're all in on Typescript). Thanks!
Most helpful comment
This is still broken :/ @jbaxleyiii plz halp