Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

annotations: Add example of usage with Glboal Secondary Indexes #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stefolog
Copy link

Issue #, if available:
Right now there is very limited information on how to annotate properly the GSI related columns. In one of our projects previous devs did use the @hashkey annotation for columns that were part just of a GSI partition key, which is wrong and was causing problems that we spent quite some time to understand why it was happening.

Description of changes:
This is adding one code example with two types of GSI indexes (hash and ranged) to the annotations README file. While it's not a full documentation, I feel it will be useful to have these basic examples that can guide the developers and save a lot of time in investigation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant