Skip to content

DynamoDB example missing ·ExpressionAttributeNames: expr.Names(), #285

@kaihendry

Description

@kaihendry

https://github.com/aws/aws-sdk-go-v2/blob/master/service/dynamodb/expression/examples_test.go#L107-L112

·ExpressionAttributeNames: expr.Names(), is needed, else you will get these odd:

ValidationException: Invalid KeyConditionExpression: An expression attribute name used in the document path is not defined; attribute name: #0

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis is a problem with documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions