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

オープン
#74 コメント 4 件 リアクション 13 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
aws, node.js, typescript
領域
cloud

調査の方向性

この issue では streamifyResponse、HttpResponseStream、HttpResponseStream.from、AWS Lambda runtime、lambda-stream wrapper が挙げられていますが、リポジトリのファイルやテストは示されていません。まず既存の runtime インターフェースを lambda-stream と比較し、それらを aws-sdk または別の package に切り出す想定なのかを判断してください。完了とするには、package の配置先を決定し、インターフェースの完全な互換性を確保する必要があります。

索引モデルが issue の本文から書いたものです。

説明

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 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.

主要言語
TypeScript
スター
224
フォーク
60
平均マージ
26分
マージ済み PR(30日)
2

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/aws-lambda-nodejs-runtime-interface-client のほかの issue

aws/aws-lambda-nodejs-runtime-interface-client の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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