aws / aws/aws-lambda-nodejs-runtime-interface-client

Move awslambda HttpResponseStream/streamifyResponse to the aws-sdk or its own package?

オープン
#74 コメント 4 件 リアクション 13 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
224
フォーク
60
PR マージ指標
30日以内にマージされた PR はありません

説明

The fact that `streamifyResponse` and `HttpResponseStream` are only available embedded in the runtime makes it difficult to write simple, coherent unit tests for streaming lambda handlers. There's been at least [one good attempt](https://github.com/astuyve/lambda-stream) to create a wrapper to support easy testing, but it's not completely interface compatible (lacking, for example, the `HttpResponseStream.from(underlyingStream, prelude)` method) and it seems wasteful to rewrite/repackage code that's already written just to unbundle it from the rest of the NodeJS runtime.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。