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

service/dynamodb/expression: fix empty expression returned when unset #562

Merged
merged 3 commits into from
Jun 1, 2020
Merged

service/dynamodb/expression: fix empty expression returned when unset #562

merged 3 commits into from
Jun 1, 2020

Conversation

alextbok
Copy link
Contributor

@alextbok alextbok commented May 7, 2020

Fixes a big in the expression builder that returns an empty string expression value when the expression has not been set.

Fixes #554

@alextbok
Copy link
Contributor Author

alextbok commented May 7, 2020

@jasdel @skotambkar another small PR for you. This time a bug fix.

ref #554

@alextbok
Copy link
Contributor Author

Bump @jasdel @skotambkar

@jasdel
Copy link
Contributor

jasdel commented May 29, 2020

Hi @alextbok thanks for taking the time to create this PR. We'll review this and update the issue with feedback.

From initial glance this looks good. DynamoDB recently made updates to their API to allow empty maps/lists/strings in their APIs. Will need to check and see if that impacts the Filter behavior as well.

@jasdel jasdel changed the title service/dynamodb/expression: fix nil expression return by checking ex… service/dynamodb/expression: fix empty expression returned when unset Jun 1, 2020
@jasdel jasdel merged commit 31880af into aws:master Jun 1, 2020
jasdel pushed a commit to jasdel/aws-sdk-go-v2 that referenced this pull request Jun 3, 2020
…aws#562)

Fixes a big in the expression builder that returns an empty string expression value when the expression has not been set.

Fixes aws#554
skmcgrail added a commit to skmcgrail/aws-sdk-go-v2 that referenced this pull request Jul 21, 2020
===

Announcements
---
* Since February 2020 the team for the AWS SDK for Go have been working to reimagine and modernize the SDK to take advantage of exciting new developments within AWS. We have been working towards supporting the [Smithy](https://awslabs.github.io/smithy) protocol agnostic modeling language. While implementing support we have taken the opportunity to make significant changes to our client interfaces, middleware, and configuration.
* This release will mark the final release using the current SDK design. Over the next release we will be remove clients using the former design, and will be re-introduce clients over a number of follow-up releases as we add support for additional services as they are ready.
* We encourage our community of users to provide feedback, bug reports, and feature requests via [Github Issues](https://github.com/aws/aws-sdk-go-v2/issues/new/choose) as we introduce the new clients and design over the next set of releases.

Services
---
* Synced the V2 SDK with latest AWS service API definitions.

SDK Bugs
---
* `service/dynamodb/expression: fix empty expression returned when unset ([aws#562](aws#562))
  * Fixes a big in the expression builder that returns an empty string expression value when the expression has not been set.
  * Fixes [aws#554](aws#554)
skmcgrail added a commit to skmcgrail/aws-sdk-go-v2 that referenced this pull request Jul 21, 2020
Announcements
---
* Since February 2020 the team for the AWS SDK for Go have been working to reimagine and modernize the SDK to take advantage of exciting new developments within AWS. We have been working towards supporting the [Smithy](https://awslabs.github.io/smithy) protocol agnostic modeling language. While implementing support we have taken the opportunity to make significant changes to our client interfaces, middleware, and configuration.
* This release will mark the final release using the current SDK design. Starting with the next release we will remove clients using the former design, and will re-introduce clients in subsequent releases as we add support for their protocols and customizations.
* We encourage our community of users to provide feedback, bug reports, and feature requests via [Github Issues](https://github.com/aws/aws-sdk-go-v2/issues/new/choose) as we introduce the new clients and design over the next set of releases.

Services
---
* Synced the V2 SDK with latest AWS service API definitions.

SDK Bugs
---
* `service/dynamodb/expression: fix empty expression returned when unset ([aws#562](aws#562))
  * Fixes a big in the expression builder that returns an empty string expression value when the expression has not been set.
  * Fixes [aws#554](aws#554)
skmcgrail added a commit that referenced this pull request Jul 22, 2020
Announcements
---
* Since February 2020 the team for the AWS SDK for Go have been working to reimagine and modernize the SDK to take advantage of exciting new developments within AWS. We have been working towards supporting the [Smithy](https://awslabs.github.io/smithy) protocol agnostic modeling language. While implementing support we have taken the opportunity to make significant changes to our client interfaces, middleware, and configuration.
* This release will mark the final release using the current SDK design. Starting with the next release we will remove clients using the former design, and will re-introduce clients in subsequent releases as we add support for their protocols and customizations. 
* We encourage our community of users to provide feedback, bug reports, and feature requests via [Github Issues](https://github.com/aws/aws-sdk-go-v2/issues/new/choose) as we introduce the new clients and design over the next set of releases. 

Services
---
* Synced the V2 SDK with latest AWS service API definitions.

SDK Bugs
---
* `service/dynamodb/expression: fix empty expression returned when unset ([#562](#562))
  * Fixes a big in the expression builder that returns an empty string expression value when the expression has not been set.
  * Fixes [#554](#554)
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.

[bug] service/dynamodb/expression#Expression.returnExpression does not return nil if unset
2 participants