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

Update go-jmespath to a release tag #3205

Merged
merged 2 commits into from Mar 27, 2020
Merged

Update go-jmespath to a release tag #3205

merged 2 commits into from Mar 27, 2020

Conversation

alex
Copy link
Contributor

@alex alex commented Mar 12, 2020

No description provided.

Copy link
Contributor

@jasdel jasdel left a comment

Choose a reason for hiding this comment

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

Thanks for taking the time to create this PR. we should be able to merge this change in later today.

@alex
Copy link
Contributor Author

alex commented Mar 23, 2020

@jasdel Just wanted to check in and see if you needed anything from me here

@jasdel
Copy link
Contributor

jasdel commented Mar 24, 2020

Thanks for the ping, looks like Travis build was a temp failure. restarting it then we should be able to merge in this change.

@alex
Copy link
Contributor Author

alex commented Mar 24, 2020 via email

@alex
Copy link
Contributor Author

alex commented Mar 24, 2020

Looks like it flaked again. Is this a common occurrence?

@jasdel
Copy link
Contributor

jasdel commented Mar 25, 2020

Hi @alex looks like we're having an permission issue with TravisCI. We may have to bypass the CR since this failure is transient.

@jasdel jasdel merged commit 323bf04 into aws:master Mar 27, 2020
@alex alex deleted the jsme-0.3.0 branch March 27, 2020 22:24
@alex
Copy link
Contributor Author

alex commented Mar 27, 2020

Thanks! Excited to see this using a tagged release now.

aws-sdk-go-automation pushed a commit that referenced this pull request Mar 30, 2020
===

### Service Client Updates
* `service/accessanalyzer`: Updates service API and documentation

### SDK Features
* SDK generated errors are fixed to use pointer receivers preventing confusion, and potential impossible type assertions. The SDK will only return API generated API error types as pointers. This fix ensures Go's type system will catch invalid error type assertions.

### SDK Enhancements
* Update SDK's `go-jmespath` dependency to latest tagged version `0.3.0` ([#3205](#3205))

### SDK Bugs
* Fix generated SDK errors to use pointer receivers
  * Fixes the generated SDK API errors to use pointer function receivers instead of value. This fixes potential confusion writing code and not casting to the correct type. The SDK will always return the API error as a pointer, not value.
  * Code that did type assertions from the operation's returned error to the value type would never be satisfied. Leading to errors being missed. Changing the function receiver to a pointer prevents this error. Highlighting it in code bases.
aws-sdk-go-automation added a commit that referenced this pull request Mar 30, 2020
Release v1.30.0 (2020-03-30)
===

### Service Client Updates
* `service/accessanalyzer`: Updates service API and documentation

### SDK Features
* SDK generated errors are fixed to use pointer receivers preventing confusion, and potential impossible type assertions. The SDK will only return API generated API error types as pointers. This fix ensures Go's type system will catch invalid error type assertions.

### SDK Enhancements
* Update SDK's `go-jmespath` dependency to latest tagged version `0.3.0` ([#3205](#3205))

### SDK Bugs
* Fix generated SDK errors to use pointer receivers
  * Fixes the generated SDK API errors to use pointer function receivers instead of value. This fixes potential confusion writing code and not casting to the correct type. The SDK will always return the API error as a pointer, not value.
  * Code that did type assertions from the operation's returned error to the value type would never be satisfied. Leading to errors being missed. Changing the function receiver to a pointer prevents this error. Highlighting it in code bases.
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