sam-goodwin / typesafe-dynamodb

TypeSafe type definitions for the AWS DynamoDB API
Apache License 2.0
205 stars 11 forks source link

Missing types for ExclusiveStartKey #48

Closed demsey2 closed 1 year ago

demsey2 commented 1 year ago

I got a TS issue. When I use TypeSafeQueryDocumentCommand I should be able to use ExclusiveStartKey in the following format.

      ExclusiveStartKey: {
        pk: 'l#agency:123#202304',
        sk: '1682475191556#32a62263da427268c85ffe7320bed06624e5397e8aaeff958f7c1f8121c5a8b1',
      },

This is not supported and expects me to setup as

      ExclusiveStartKey: {
        pk: { S: '' },
        sk: { S: '' },
      },

but that is invalid when you use DynamoDBDocumentClient

github-actions[bot] commented 1 year ago

This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.

github-actions[bot] commented 1 year ago

Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label.