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] 서비스 타입 구현 #192

Merged
merged 13 commits into from
Jul 17, 2024
Merged

Conversation

youz2me
Copy link
Member

@youz2me youz2me commented Jul 16, 2024

🔗 연결된 이슈

📄 작업 내용

  • 서비스 타입 구현했습니다.

@youz2me youz2me self-assigned this Jul 16, 2024
@youz2me youz2me added ✨ feat 기능 구현시 사용 💚 YouJin 저댄고?저댄고?저댄고?저댄고?저댄고? labels Jul 16, 2024
Copy link
Contributor

@JinUng41 JinUng41 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다.

Comment on lines 22 to 27
let service: InviteCodeServiceType
let inviteCode = ObservablePattern<String>("")
let inviteCodeState = ObservablePattern<InviteCodeState>(.empty)
let isNextButtonEnabled = ObservablePattern<Bool>(false)

private let service: InviteCodeServiceType

Copy link
Contributor

Choose a reason for hiding this comment

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

service를 ViewModel 외부에서 접근가능하게 선언하신 이유가 궁금하네요?

Copy link
Member Author

Choose a reason for hiding this comment

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

사실 막연하게 쓸 일이 있을 것 같아서 일단 바꿔놨는데 생각해보니 필요가 없네요 ,,, 감사합니다!

Comment on lines 14 to 16

let tardyService: MockTardyService
var isPastDue: ObservablePattern<Bool>
Copy link
Contributor

Choose a reason for hiding this comment

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

tardyServiceType을 주입받으면 어땠을까 하는..

Copy link
Member Author

Choose a reason for hiding this comment

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

수정했습니다 ~!

Comment on lines 10 to 13
protocol PromiseInfoServiceType {
func getPromiseInfo(with promiseId: Int) -> PromiseInfoModel?
}

Copy link
Contributor

Choose a reason for hiding this comment

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

저는 get보다는 fetch를 더 많이 사용합니다.
그냥 그렇다구요

Copy link
Member

@hooni0918 hooni0918 left a comment

Choose a reason for hiding this comment

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

이제 의존성 분리와 MVVM 그리고 서비스 객체 나누는것까지 완전하게 이해하신것같네요! 응원합니다!


// MARK: Initialize

init(service: CreateMeetingServiceType) {
self.service = service
init(createMeetingService: CreateMeetingServiceType) {
Copy link
Member

Choose a reason for hiding this comment

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

굿!

Copy link
Member

@mmaybei mmaybei left a comment

Choose a reason for hiding this comment

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

아주 좋아용 수고하셨습니다~!

@youz2me youz2me merged commit 9c71498 into suyeon Jul 17, 2024
@youz2me youz2me deleted the feat/#190-youjin-service-type branch July 17, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feat 기능 구현시 사용 💚 YouJin 저댄고?저댄고?저댄고?저댄고?저댄고?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] 모임 추가, 약속 상세, 준비 현황, 지각 꾸물이 ServiceType 구현
4 participants