IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

feat: support use of Context with RequestBuilder #79

Closed padamstx closed 3 years ago

padamstx commented 3 years ago

Fixes arf/planning-sdk-squad#2230 Fixes #77

This commit adds support for setting a context.Context instance on the RequestBuilder struct. This Context instance will then be associated with the http.Request instance constructed by the RequestBuilder.Build() method.

BREAKING CHANGE: Minimum supported Go version is now 1.13. The minimum version of Go supported by this library has been changed to Go version 1.13. To use this and future versions of the Go core library, please make sure that you are using Go version 1.13 or higher.

padamstx commented 3 years ago

This PR has been updated to use Go v 1.13 and will result in a new major version of the Go SDK.

padamstx commented 3 years ago

Closing this PR because in favor of an alternate solution that does not require a new major version of the Go core.