-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better Flow type defs for field resolvers #574
Comments
This was originally inspired by discussion in #554. |
This incrementally adds to #574, however a broader solution is needed to create a mirroring between graphql type definitions and internal flow types.
@leebyron is there any progress on this meta issue? It would really helpful to get end-to-end typing of the graph and the possibility of leveraging that in the client. |
@leebyron are you still working on this issue? Is there something I or others could help with? |
Has there been any additional consideration for what it will take to move forward with the remainder of the typings for resolvers? |
This incrementally adds to #574, however a broader solution is needed to create a mirroring between graphql type definitions and internal flow types.
This incrementally adds to #574, however a broader solution is needed to create a mirroring between graphql type definitions and internal flow types.
@gtkatakura is using conditional mapped types to improve types: gtkatakura/fullstack-challenge@36cc105 |
If it helps... proper typing of return (only for GraphQLScalarType) in TypeScript |
typing for GraphQLScalarType #1522 |
we no longer support Flow #2860 |
When writing resolvers for GraphQL types in a flow-typed environment, the Flow types should aid as much as possible.
(: any)
for typical behavior.context
source
The text was updated successfully, but these errors were encountered: