-
Notifications
You must be signed in to change notification settings - Fork 181
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
fix some conflict-types with Graphql #89
Conversation
will write unit test later ... |
@@ -65,6 +65,7 @@ var simpleRootValueMutation = mutationWithClientMutationId({ | |||
type: GraphQLInt | |||
} | |||
}, | |||
// $FlowFixMe: check if Relay narrowed GraphQLResolveInfo.rootValue to Object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test does not affect src code ,just suppress it.
It is valid when using a flowType-outputed version of GraphQL .
If the fourth commit output |
2d0051b
to
94c15ff
Compare
Just added flow-typed graphql! |
Checked all conflict flow type between
graphql
andgraphql-relay
withflow-dynamic
.See this: not modified any code inside the origin resolver. and will have no produce-time load, when confirmed those data usage are by design.
I use a own copy
graphql
(which namedflow-graphql
) for temporary type testing. will delete them later. waiting an offcial typedgraphql
package.