-
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
chore: 변경된 서버 API 필드명으로 회원가입 여부 DTO 변경, 코드 리뷰 반영 #223
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.
병렬 실행했을 때 그런 이슈가 있을 수 있겠네요,,
원하시는 방향대로 하려면 모든 Mock Worker에서 data race 발생하지 않도록 처리해주어야 하려나요? 🤔
암튼간에 수고하셨습니당..
MockURLProtocol에서 requestHandler를 static var로 설정해서 넣는것이 아니라, 각각 독립적으로 설정할 수 있도록 변경해야 합니다. |
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.
확인 완료!
async let isRegistered: Bool = worker?.isRegisteredApple(with: identityToken) ?? false | ||
async let loginResult: Bool = worker?.loginApple(with: identityToken) ?? false | ||
let isRegistered = await worker?.isRegisteredApple(with: identityToken) | ||
let loginResult = await worker?.loginApple(with: identityToken) |
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.
전에 그 병렬 처리 코드네요 확인했습니다.
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.
Mock으로 하니까 여기도 간헐적으로 오류가 나네요 ㅠ 실 Worker로 하면 원래 코드는 오류 나지 않을 거에요
🧑🚀 PR 요약
isAlreadyExist
로 회원가입 여부 DTO 필드명을 변경했습니다.📌 변경 사항
Linked Issue
close #222