Skip to content

docs(events): clarify DynamoDBAttributeValue.String behavior - #658

Open
gibkim wants to merge 1 commit into
aws:mainfrom
gibkim:docs/dynamodb-attribute-string-510
Open

gibkim wants to merge 1 commit into
aws:mainfrom
gibkim:docs/dynamodb-attribute-string-510

Conversation

@gibkim

@gibkim gibkim commented Nov 28, 2026

Copy link
Copy Markdown

Issue #, if available:

Fixes #510.

Description of changes:

Correct the GoDoc for DynamoDBAttributeValue.String(). It returns the underlying string for a String attribute and a formatted representation for other types. The implementation is unchanged.

Verified identical results for String and Boolean attributes on main and this branch. go test ./events, GoDoc rendering, and formatting checks passed.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.04%. Comparing base (4111853) to head (040d4c6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #658   +/-   ##
=======================================
  Coverage   82.04%   82.04%           
=======================================
  Files          37       37           
  Lines        1487     1487           
=======================================
  Hits         1220     1220           
  Misses        264      264           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gibkim

gibkim commented Nov 28, 2026

Copy link
Copy Markdown
Author

The Go 1.26 and 1.27 tests, both coverage jobs, and the Dockerized test passed. The lint job reports the same Go 1.27.4 export-data version error reproduced on main. #650 proposes the linter upgrade for this issue and currently passes its lint check.

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.

DynamoDBAttributeValue.String() accessor method inconsistent with documented behavior

3 participants