dynamodb/expression: Value doesn't work as expected with dynamodb.AttributeValue #713
Closed
3 tasks done
Labels
feature-request
A feature should be added or improved.
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
Calling expression.Value() with a dynamodb.AttributeValue dumps the full JSON structure instead of using the given value.
Version of AWS SDK for Go?
Latest
Version of Go (
go version
)?Latest
To Reproduce (observed behavior)
Expected behavior
I'd expect the value to be set correctly typed to a string.
Additional context
There seems to be type based coercion going on to put the value into an AttributeValue, but if it already is one we should be able to just take it as-is.
The text was updated successfully, but these errors were encountered: