dynamo-easy icon indicating copy to clipboard operation
dynamo-easy copied to clipboard

Query indexName, whereParitionKey, whereSortKey order matters

Open danielblignaut opened this issue 4 years ago • 0 comments

Describe the bug On a query request, you have to specify indexName before your partition or sortKey value otherwise the parition and sort key values are not assigned to the correct model key (they will be assigned to the @PartitionKey and @SortKey instead of the correct gsi key).

Whilst this is a bug, I think the correct fix is rather to just update the docs to explicitly reference this.

danielblignaut avatar Jul 23 '21 16:07 danielblignaut