Query.GlobalSecondayIndex.scan doesn’t pass IndexName
benhutchins opened this issue · comments
Benjamin Hutchins commented
The scan method on the GSI query class doesn’t actually pass the IndexName
property. So it actually performs a scan on the table instead of the GSI.
This seems unintentional, since a scan can performed on the table using the Query.PrimaryKey.scan
method.
Kurt commented
@benhutchins thanks for the report, it's been fixed and will be automatically deployed soon.