honojs / hono

Web framework built on Web Standards
https://hono.dev
MIT License
18.29k stars 515 forks source link

Triggers support for AWS Lambda adapter #3180

Open NamesMT opened 1 month ago

NamesMT commented 1 month ago

What is the feature you are proposing?

The current aws-lambda adapter does not support and also makes it very hard for user to implement a way to handle trigger requests (Like S3, EventBridge, function invokes), as any request that doesn't match the "HTTP Request" schema will error before being available at the Hono's context level.

Should we add support for it officialy at hono?

watany-dev commented 1 month ago

Regarding the official adaptor, I think it should be based on HTTP requests. I plan to publish this later, so please wait a little longer.