Skip to content

Conversation

@thantos
Copy link
Contributor

@thantos thantos commented Sep 16, 2022

No description provided.

Comment on lines +52 to +60
const listNotes = new Function<undefined, Note[]>(
stack,
'listNotesFunction',
async () => {
const items = await $AWS.DynamoDB.Scan({ Table: table });

return items.Items?.map((item): Note => unmarshall(item) as Note) ?? [];
},
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did scan not work or it's missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing for appsync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants