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

削除するレースを配列で指定するよう変更 #297

Merged
merged 4 commits into from
Nov 12, 2022

Conversation

hutinoatari
Copy link
Member

close #296

@github-actions github-actions bot added the PB label Nov 12, 2022
@@ -258,7 +258,7 @@ message EditRaceResponse {}

message DeleteRaceResultRequest {
// 対象を指定するため必須
uint32 id = 1 [(validate.rules).uint32.gte = 1];
repeated uint32 id = 1;
Copy link
Member

Choose a reason for hiding this comment

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

あ!!!!!!伝達に不備がありました!!!!!!!
削除対象の馬を配列で指定したいです!!!!!!

Copy link
Member Author

Choose a reason for hiding this comment

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

馬はどう指定するのがいいですか?IDとか馬番とか

Copy link
Member Author

Choose a reason for hiding this comment

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

結果まるごと消し飛ばすと思ってた

Copy link
Member

Choose a reason for hiding this comment

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

Registerに揃えてもらえると嬉しいです

  repeated RaceDetail.Member members;

Copy link
Member

Choose a reason for hiding this comment

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

結果まるごと吹き飛ばすと、登録できた馬と登録できていない馬があるレースで二重に削除することになることに気が付きました

Copy link
Member

Choose a reason for hiding this comment

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

上追記ですが、レース結果の編集はレース結果のみではなく、それぞれの履歴に追記する作業や勝利数のカウントなどもしているからです

Copy link
Member Author

Choose a reason for hiding this comment

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

なるほどなぁ

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 12, 2022
@Azuki-bar Azuki-bar enabled auto-merge November 12, 2022 17:23
Copy link
Member

@Azuki-bar Azuki-bar left a comment

Choose a reason for hiding this comment

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

ありがとうございます!

@Azuki-bar Azuki-bar merged commit ac654b0 into main Nov 12, 2022
@Azuki-bar Azuki-bar deleted the fix-delete-race-result branch November 12, 2022 17:24
@github-actions github-actions bot mentioned this pull request Nov 12, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation PB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

レース結果削除の対象を指定できるようにする
2 participants