fix: トラブルのレスキューで発生場所と詳細が入れ替わって届くのを直す - #552
Merged
Merged
Conversation
_sendRescueRequest の定義が (detail, place)、呼び出しが (place, detail) の順になっていた。どちらも String の位置引数なのでコンパイラも analyze も検出しない。place と detail を名前付き引数にして、呼び出し側で名前を書く形にする。
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NUTFes/SeeFT/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughレスキュー送信関数の Changesレスキュー送信引数の安全化
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix · Severity of issue fixed: Medium 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
対応Issue
resolve #551
概要
トラブルのレスキューで、「発生場所」と「詳細」が入れ替わって届くのを直す。
送信関数の定義が
(detail, place)、呼び出しが(place, detail)の順になっていた。どちらもStringの位置引数なので、コンパイラも analyze も検出しない。placeとdetailを名前付き引数にして、呼び出し側で名前を書く形にした。人が来ない(
int missingNumber, String place)は型が違うので入れ替えられず、質問は引数が1つなので、同じ問題はない。テスト項目
fvm flutter analyzeが No issues であること(確認済み)PLACE-lecture306、詳細にDETAIL-no-polybagを入れて、次のとおり届くこと(確認済み)備考
GET /tasks/users/:idが空リストを[]ではなくnullで返すため(AGENTS.md の「空リスト返却」の移行中の問題)。本番は全員にシフトがあるので現状は影響しない。この PR では直していないup -d mobileだけでよく、API は止まらないSummary by CodeRabbit