Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

iamchenxin
Copy link

@iamchenxin iamchenxin commented May 20, 2016

Checked all conflict flow type between graphql and graphql-relay with flow-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 named flow-graphql) for temporary type testing. will delete them later. waiting an offcial typed graphql package.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 99.567% when pulling 7472377 on iamchenxin:fixWithGraphql into 7e58a89 on graphql:master.

@ghost ghost added the CLA Signed label May 20, 2016
@iamchenxin
Copy link
Author

will write unit test later ...

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 99.796% when pulling 4e0a86e on iamchenxin:fixWithGraphql into 7e58a89 on graphql:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 99.811% when pulling 9577fd1 on iamchenxin:fixWithGraphql into 7e58a89 on graphql:master.

@@ -65,6 +65,7 @@ var simpleRootValueMutation = mutationWithClientMutationId({
type: GraphQLInt
}
},
// $FlowFixMe: check if Relay narrowed GraphQLResolveInfo.rootValue to Object
Copy link
Author

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 .

@iamchenxin
Copy link
Author

iamchenxin commented May 23, 2016

If the fourth commit output .js.flow #2d0051b is acceptable, Should make Graphql to output .js.flow too? ( output .js.flow in Graphql and Graphql-relay do not break anything).
There is issue graphql-js#248 for this .

@coveralls
Copy link

coveralls commented Jun 6, 2016

Coverage Status

Coverage decreased (-0.01%) to 99.811% when pulling 94c15ff on iamchenxin:fixWithGraphql into f1dfe50 on graphql:master.

@leebyron
Copy link
Contributor

Just added flow-typed graphql!

@leebyron leebyron closed this Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants