-
Notifications
You must be signed in to change notification settings - Fork 0
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
developブランチをmainに取り込む #993
Conversation
Co-authored-by: ikura-hamu <ikura-hamu@users.noreply.github.com>
Co-authored-by: ikura-hamu <ikura-hamu@users.noreply.github.com>
🔥 visibility追加、v1API削除
GET /gamesの実装
This reverts commit 7593fd7.
PUT /games/:gameID/genresの実装
…ibility PostGameで以前のAPIと互換性を持たせる
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #993 +/- ##
==========================================
- Coverage 55.09% 50.64% -4.46%
==========================================
Files 159 120 -39
Lines 11694 8649 -3045
==========================================
- Hits 6443 4380 -2063
+ Misses 4829 3951 -878
+ Partials 422 318 -104 ☔ View full report in Codecov by Sentry. |
User description
APIの後方互換性の問題から新しいAPIをmainに入れられなかったが、APIの仕様を変えて互換性を保つようにしたので、入れても問題ない
PR Type
enhancement, tests
Description
CreateGame
関数にジャンルの処理を追加し、ゲーム作成時のジャンル管理を強化。NotImplementedChecker
を追加し、未実装の可視性チェックを処理。Changes walkthrough 📝
2 files
game_test.go
ゲームの可視性とジャンルに関するテストの追加と更新
src/handler/v2/game_test.go
game_genre_test.go
ゲームジャンルに関する新しいテスト関数の追加
src/repository/gorm2/game_genre_test.go
TestGetGameGenresWithNames
関数を追加TestSaveGameGenres
関数を追加TestRegisterGenresToGame
関数を追加2 files
game.go
ゲーム作成と取得におけるジャンルと可視性の処理追加
src/service/v2/game.go
CreateGame
関数にジャンルの処理を追加checker.go
可視性に関するチェッカーの追加
src/handler/v2/checker.go
NotImplementedChecker
を追加47 files
v2_game_test.go
...
src/repository/gorm2/v2_game_test.go
...
game_test.go
...
src/service/v2/game_test.go
...
game_management_role_test.go
...
src/repository/gorm2/game_management_role_test.go
...
game_genre_test.go
...
src/handler/v2/game_genre_test.go
...
v2_game_version_test.go
...
src/repository/gorm2/v2_game_version_test.go
...
v2_game.go
...
src/repository/gorm2/v2_game.go
...
game.go
...
src/handler/v2/game.go
...
wire_gen.go
...
src/wire/wire_gen.go
...
game_genre_test.go
...
src/service/v2/game_genre_test.go
...
v2_game_image_test.go
...
src/repository/gorm2/v2_game_image_test.go
...
v2_game_video_test.go
...
src/repository/gorm2/v2_game_video_test.go
...
game_genre.go
...
src/handler/v2/game_genre.go
...
v2_game_file_test.go
...
src/repository/gorm2/v2_game_file_test.go
...
game_genre.go
...
src/repository/gorm2/game_genre.go
...
v11.go
...
src/repository/gorm2/migrate/v11.go
...
v2_game.go
...
src/service/v2_game.go
...
game_genre.go
...
src/service/v2/game_genre.go
...
v13.go
...
src/repository/gorm2/migrate/v13.go
...
v2_game.go
...
src/repository/v2_game.go
...
v12.go
...
src/repository/gorm2/migrate/v12.go
...
service.go
...
src/wire/service.go
...
api.go
...
src/handler/api.go
...
game_genre.go
...
src/repository/game_genre.go
...
current.go
...
src/repository/gorm2/migrate/current.go
...
repository.go
...
src/wire/repository.go
...
handler.go
...
src/wire/handler.go
...
game_image_test.go
...
src/service/v2/game_image_test.go
...
game_genre.go
...
src/service/game_genre.go
...
users_test.go
...
src/handler/v2/users_test.go
...
game.go
...
src/domain/game.go
...
game_version_test.go
...
src/service/v2/game_version_test.go
...
game_image.go
...
src/service/v2/game_image.go
...
v10.go
...
src/repository/gorm2/migrate/v10.go
...
migrate.go
...
src/repository/gorm2/migrate/migrate.go
...
game_version.go
...
src/service/v2/game_version.go
...
errors.go
...
src/repository/errors.go
...
game.go
...
src/domain/values/game.go
...
v2_game_version.go
...
src/repository/gorm2/v2_game_version.go
...
db.go
...
src/repository/gorm2/db.go
...
errors.go
...
src/service/errors.go
...
v2.yaml
...
docs/openapi/v2.yaml
...
game_genre_relations.md
...
docs/db_schema/game_genre_relations.md
...
README.md
...
docs/db_schema/README.md
...
.tbls.yml
...
.tbls.yml
...
game_visibility_types.md
...
docs/db_schema/game_visibility_types.md
...
games.md
...
docs/db_schema/games.md
...
game_genres.md
...
docs/db_schema/game_genres.md
...