Skip to content

Commit

Permalink
Merge branch 'main' into additiona-attrs-in-key
Browse files Browse the repository at this point in the history
  • Loading branch information
twharmon committed Jun 27, 2023
2 parents ff87797 + a7734f0 commit ebde33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func additionalAttrs(item map[string]*dynamodb.AttributeValue, v reflect.Value)
// Add additional attributes for specific types
switch val := v.Interface().(type) {
case Author:
// Add a fat partition on sparse global secondary index to
// Add a fat partition or sparse global secondary index to
// make querying for all authors possible
author := fmt.Sprintf("Author#%s", val.ID)
item["GSIPK"] = &dynamodb.AttributeValue{S: &ty}
Expand Down

0 comments on commit ebde33f

Please sign in to comment.