-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@BElluu from your description of the issue it sounds like you're trying to use the v1 SDK's expression package with the v2 SDK's dynamodb#QueryInput type. The types and utilities in the v1 SDK are not compatible with the v2 SDK. I think you want to use the v2 SDK's expression package instead, |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
@BElluu from your description of the issue it sounds like you're trying to use the v1 SDK's expression package with the v2 SDK's dynamodb#QueryInput type. The types and utilities in the v1 SDK are not compatible with the v2 SDK.
I think you want to use the v2 SDK's expression package instead,
github.com/aws/aws-sdk-go-v2/feature/dynamodb/expression
. If you're using helper tools likegoimports
or similar IDE tools, its possible these are adding the wrong version SDK as import.