Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
Discussion options

You must be logged in to vote

@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 like goimports or similar IDE tools, its possible these are adding the wrong version SDK as import.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by vudh1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants