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

[Feat/#64] 퀴즈 풀기 화면 디테일 수정 #66

Merged
merged 13 commits into from
Nov 23, 2023

Conversation

mooyoung2309
Copy link
Contributor

PR 요약

📌 변경 사항

✅ PR check list

Linked Issue

close #64

@@ -12,19 +12,19 @@ import ComposableArchitecture
import Moya

struct NewsClient {
var fetchNewsList: (Int, Int) async -> Result<[NewsEntity], D3NAPIError>
var fetchQuizList: (Int) async -> Result<[QuizEntity], D3NAPIError>
var fetch: (Int, Int) async -> Result<[NewsEntity], D3NAPIError>
Copy link
Collaborator

Choose a reason for hiding this comment

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

fetch가 하나로 합쳐전 건 이제 한 번에 뉴스와 퀴즈를 동시에 보내주도록 백엔드에서 수정되어서인지 궁금합니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

두개로 분리한거입니다! �API 명세는 그대로이고, 기존에 NewsClient가 모두를 fetch 하였는데 NewsClient와 QuizClient로 분리하였습니다. 이름은 이제 NewsClient가 fetch 하는 것은 News 라는 것이 암묵적이라고 생각하여 네이밍에서 키워드를 생략하였습니다.

Copy link
Collaborator

@greetings1012 greetings1012 left a comment

Choose a reason for hiding this comment

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

정말 수고하셨습니다!

@mooyoung2309 mooyoung2309 merged commit 28b305f into develop Nov 23, 2023
1 check passed
@mooyoung2309 mooyoung2309 deleted the feat/#64-quiz-detail branch November 23, 2023 02:21
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.

[feat] 퀴즈 풀기 화면 디테일 수정
2 participants