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

feat(gqlclient): require passing context #10

Merged
merged 2 commits into from
Jun 28, 2019
Merged

Conversation

steebchen
Copy link
Owner

@steebchen steebchen commented Jun 28, 2019

BREAKING CHANGE: all exposed methods now require a context.Context as
the first parameter to allow request cancelling. Respects the Go
guidelines as described in https://golang.org/pkg/context/.

Also adapt the default http timeout to 30 seconds.

Fix #7

BREAKING CHANGE: all exposed methods now require a context.Context as
the first parameter to allow request cancelling. Respects the Go
guidelines as described in https://golang.org/pkg/context/.

- also adapt the default http timeout to 30 seconds.
@steebchen steebchen assigned steebchen and unassigned steebchen Jun 28, 2019
@steebchen steebchen added the kind/feature Introduces a new feature label Jun 28, 2019
@steebchen steebchen requested a review from robojones June 28, 2019 14:00
@steebchen steebchen merged commit ae05fd0 into master Jun 28, 2019
@steebchen steebchen deleted the feat/gqlclient branch June 28, 2019 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Introduces a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide http context to cancel requests
2 participants