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

Add TContext to type resolvers #575

Merged
merged 1 commit into from
Nov 15, 2016
Merged

Add TContext to type resolvers #575

merged 1 commit into from
Nov 15, 2016

Conversation

leebyron
Copy link
Contributor

Part of #574

@leebyron leebyron merged commit 7eae7aa into master Nov 15, 2016
@leebyron leebyron deleted the more-context-type branch November 15, 2016 23:47
@@ -366,7 +366,7 @@ export type GraphQLScalarTypeConfig<TInternal, TExternal> = {
export class GraphQLObjectType {
name: string;
description: ?string;
isTypeOf: ?GraphQLIsTypeOfFn;
isTypeOf: ?GraphQLIsTypeOfFn<*, *>;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason this isn't <TSource, TContext>? I'm updating the DefinitelyTyped @types/graphql and couldn't find this documented anywhere in Flow. Would be a great help to point me in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants