We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've got an entity with the following attributes:
attributes: { pk: { type: 'string', partitionKey: true, }, sk: { sortKey: true, hidden: true, }, username: ['sk', 1, { save: true }], role: ['sk', 0], },
According to the doc, I should get both username and role when querying this entity. However, I only get the username (which is saved).
The quick fix is easy but I thought I'd report it so that you could fix it or update the doc.
The text was updated successfully, but these errors were encountered:
Thanks @aldebout. I have some work to do on the composite key stuff. The interface needs to be a bit more flexible.
Sorry, something went wrong.
I've made some changes to the composite key generation and parsing. Please gives this a try again and let me know if it works.
I did make a change so that all attributes are saved by default, since this is a recommended practice. You can disable it by setting save: false.
save: false
It's looking good, I'll check it out! I might have to fix a few lines in my codebase around the type -> entity change before that though.
No branches or pull requests
I've got an entity with the following attributes:
According to the doc, I should get both username and role when querying this entity.
However, I only get the username (which is saved).
The quick fix is easy but I thought I'd report it so that you could fix it or update the doc.
The text was updated successfully, but these errors were encountered: