winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.99k stars 196 forks source link

SDK: Add event handlers for DynamoDB winglib #2841

Open skorfmann opened 1 year ago

skorfmann commented 1 year ago

Feature Spec

Implement in the spirit of the original RFC for wing-sdk https://www.winglang.io/contributing/rfcs/2023-01-20-wingsdk-spec#table

As stated there currently:

onInsert(fn: inflight (row: Map<Json>) => void): cloud.Function;
onUpdate(fn: inflight (row: Map<Json>) => void): cloud.Function;
onDelete(fn: inflight (row: Map<Json>) => void): cloud.Function;

Use Cases

Implementation Notes

No response

Component

SDK

Community Notes

staycoolcall911 commented 1 year ago

Should probably be a mechanism similar to the one we implemented for Bucket

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 11 months ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 6 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 3 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!