Skip to content

Usecase: getDonFromIdUseCase を実装 - #212

Open
woodnx wants to merge 3 commits into
mainfrom
usecase_getDonFromIdUseCase
Open

Usecase: getDonFromIdUseCase を実装#212
woodnx wants to merge 3 commits into
mainfrom
usecase_getDonFromIdUseCase

Conversation

@woodnx

@woodnx woodnx commented Sep 18, 2025

Copy link
Copy Markdown
Member

実装とテストコード

@hikuohiku hikuohiku left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良さそうです、routerとの繋ぎ込みもお願いできますか?


// そのIDのDonがない場合,エラーを返す.
if (!don) {
throw ApiError.internalProblems();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

サーバー側のエラーではないのでinvalidParamsとかで良さそうです

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitsですがこういう時ってfromよりもby使ってるイメージあります

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.

2 participants