Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ユースケース、コントローラーのレスポンス型定義を collections.abc.AsyncIterator に変更 #100

Merged
merged 2 commits into from
Mar 2, 2024

Conversation

keitakn
Copy link
Member

@keitakn keitakn commented Feb 29, 2024

issueURL

#99

この PR で対応する範囲 / この PR で対応しない範囲

#99 の完了の定義に記載されている通りユースケースのレスポンス型定義を collections.abc.AsyncIterator に変更する。

Storybook の URL、 スクリーンショット

UI変更ではないのでなし

変更点概要

タイトルの通り。

元々ユースケースだけを対応する予定だったがコントローラー内の StreamingResponse を生成している関数内でもジェネレータメソッドが利用されていたのでコントローラーでも AsyncIterator を利用するようにした。

レビュアーに重点的にチェックして欲しい点

特になし

補足情報

特になし

@keitakn keitakn self-assigned this Feb 29, 2024
@keitakn keitakn changed the title ユースケースのレスポンス型定義を collections.abc.AsyncIterator に変更 ユースケース、コントローラーのレスポンス型定義を collections.abc.AsyncIterator に変更 Feb 29, 2024
@keitakn keitakn marked this pull request as ready for review February 29, 2024 15:34
@keitakn keitakn merged commit 2d85594 into main Mar 2, 2024
1 check passed
@keitakn keitakn deleted the feature/issue99/fix-usecase-result-type branch March 2, 2024 13:21
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.

1 participant