Skip to content

Adds context support. #15

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 8, 2016
Merged

Adds context support. #15

merged 1 commit into from
Jan 8, 2016

Conversation

chris-ramon
Copy link
Member

Details.

Issue: #14

@chris-ramon
Copy link
Member Author

Thanks! for bringing it up 👍

chris-ramon added a commit that referenced this pull request Jan 8, 2016
@chris-ramon chris-ramon merged commit 1ee0832 into master Jan 8, 2016
@chris-ramon chris-ramon deleted the context branch January 8, 2016 00:14
@chris-ramon chris-ramon mentioned this pull request Jan 10, 2016
sogko added a commit to sogko/relay that referenced this pull request Feb 3, 2016
- Add context support to `IDFetcherFn` and `GlobalIDFetcherFn`
- Similar to `MutationFn`, both would benefit from context to fetch object for the given id
  - For e.g, the db session for the current request context can be stored in `ctx` in upstream middleware
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.

2 participants