Skip to content

Add ContextHandler API function to externally provided net/context.Context #6

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

Merged
merged 1 commit into from
Jan 28, 2016

Conversation

augustoroman
Copy link
Contributor

Following graphql-go/graphql#98, it's now possible
to provide a Context to the graphql resolve functions. This exposes that
capability in the handler API.

This follows the convention of putting the Context as the first arg, and
the apparently evolving context-aware http handler func signature.

…ext.

Following graphql-go/graphql#98, it's now possible
to provide a Context to the graphql resolve functions.  This exposes that
capability in the handler API.

This follows the convention of putting the Context as the first arg, and
the apparently evolving context-aware http handler func signature.
@F21
Copy link

F21 commented Jan 27, 2016

@sogko Any chance you can look at this?

@chris-ramon
Copy link
Member

LGTM thanks a lot @augustoroman 👍

chris-ramon added a commit that referenced this pull request Jan 28, 2016
Add ContextHandler API function to externally provided net/context.Context
@chris-ramon chris-ramon merged commit f2b24d1 into graphql-go:master Jan 28, 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