-
Notifications
You must be signed in to change notification settings - Fork 0
買い物かごの取得にカタログから削除済みのアイテムのリストを含める #2756
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
The head ref may contain hidden characters: "feature/\u8CB7\u3044\u7269\u304B\u3054\u306E\u53D6\u5F97\u306B\u30AB\u30BF\u30ED\u30B0\u304B\u3089\u524A\u9664\u6E08\u307F\u306E\u30A2\u30A4\u30C6\u30E0\u306E\u30EA\u30B9\u30C8\u3092\u542B\u3081\u308B"
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
買い物かご取得APIのレスポンスに「削除済みカタログアイテムID」のリストを追加する変更です。
- OpenAPIスキーマに
deletedItemIds
プロパティを追加 - コントローラーとDTOに
DeletedItemIds
フィールドを追加 - アプリケーションサービスで削除済みアイテムIDを抽出して戻り値に含めるロジックを実装
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
samples/Dressca/dressca-backend/src/Dressca.Web.Consumer/dressca-api.json | OpenAPIスキーマに deletedItemIds 配列を追加 |
samples/Dressca/dressca-backend/src/Dressca.Web.Consumer/Controllers/BasketItemsController.cs | サービス呼び出しに deletedCatalogItemIds を追加し、レスポンスに設定 |
samples/Dressca/dressca-backend/src/Dressca.Web.Consumer.Dto/Baskets/BasketResponse.cs | DTOに DeletedItemIds プロパティを追加 |
samples/Dressca/dressca-backend/src/Dressca.ApplicationCore/ApplicationService/ShoppingApplicationService.cs | GetBasketItemsAsync の戻り値に削除済みアイテムIDを追加し、生成ロジックを実装 |
Comments suppressed due to low confidence (1)
samples/Dressca/dressca-backend/src/Dressca.ApplicationCore/ApplicationService/ShoppingApplicationService.cs:63
- XMLドキュメントの
<returns>
セクションに新たに追加したDeletedItemIds
の説明を追記してください。
/// </returns>
...dressca-backend/src/Dressca.ApplicationCore/ApplicationService/ShoppingApplicationService.cs
Outdated
Show resolved
Hide resolved
samples/Dressca/dressca-backend/src/Dressca.Web.Consumer/dressca-api.json
Show resolved
Hide resolved
samples/Dressca/dressca-backend/src/Dressca.Web.Consumer/Controllers/BasketItemsController.cs
Outdated
Show resolved
Hide resolved
...tests/Dressca.UnitTests.ApplicationCore/ApplicationService/ShoppingApplicationServiceTest.cs
Show resolved
Hide resolved
Test Result 📝Test was a success. Coverage 📐Summary
Dressca.ApplicationCore - 96%
Dressca.EfInfrastructure - 16.5%
Dressca.Store.Assets.StaticFiles - 17.2%
Dressca.SystemCommon - 82%
Dressca.Web - 24%
Dressca.Web.Consumer - 43.8%
Dressca.Web.Consumer.Dto - 57.4%
|
Test Result 📝Test was a success. Coverage 📐Summary
Dressca.ApplicationCore - 93.5%
Dressca.EfInfrastructure - 14.2%
Dressca.Store.Assets.StaticFiles - 17.2%
Dressca.SystemCommon - 82%
Dressca.Web - 29.7%
Dressca.Web.Admin - 26.9%
Dressca.Web.Admin.Dto - 0%
|
この Pull request で実施したこと
この Pull request では実施していないこと
削除済みカタログアイテムを買い物かごから削除する処理は別Issueにて対応予定です。
Issues や Discussions 、関連する Web サイトなどへのリンク
なし