-
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
merge :: 잔류 신청 api 연동 #177
Conversation
Projects/Features/ApplyFeature/Sources/ApplyPage/Component/ApplyListCellView.swift
Outdated
Show resolved
Hide resolved
Projects/Features/ApplyFeature/Sources/ApplyPage/ApplyPageViewModel.swift
Show resolved
Hide resolved
...s/Services/NetworkModule/Sources/StudyRooms/Remote/Impl/RemoteStudyRoomsDataSourceImpl.swift
Outdated
Show resolved
Hide resolved
...cts/Services/DomainModule/Sources/StudyRooms/UseCases/FetchMyStudyRoomAppItemsUserCase.swift
Outdated
Show resolved
Hide resolved
...ices/DataModule/Sources/StudyRooms/UseCases/Impl/FehtchMyStudyRoomAppItemsUserCaseImpl.swift
Outdated
Show resolved
Hide resolved
Projects/Services/DataMappingModule/Sources/Enum/WeekType.swift
Outdated
Show resolved
Hide resolved
Projects/Features/RemainApplyFeature/Sources/RemainApplyViewModel.swift
Outdated
Show resolved
Hide resolved
Projects/Features/RemainApplyFeature/Sources/RemainApplyViewModel.swift
Outdated
Show resolved
Hide resolved
Projects/Features/RemainApplyFeature/Sources/Component/RemainApplyListCellView.swift
Show resolved
Hide resolved
Projects/Features/StudyRoomFeature/Sources/StudyRoomDetail/StudyRoomDetailViewModel.swift
Outdated
Show resolved
Hide resolved
Projects/Services/DomainModule/Sources/Entities/MyStudyRoomAppItemsEntity.swift
Outdated
Show resolved
Hide resolved
Projects/Features/RemainApplyFeature/Sources/RemainApplyViewModel.swift
Outdated
Show resolved
Hide resolved
) { [weak self] _ in | ||
self?.fetchMyRemainApplicationItems() | ||
self?.fetchRemainApplicationList() | ||
} |
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.
이거
let remainOptions = self.remainApplicationList.remainOptions
.map {
if id == $0.id {
return RemainOptionsEntity(id: $0.id, title: $0.title, description: $0.description, isApplied: true)
} else {
return RemainOptionsEntity(id: $0.id, title: $0.title, description: $0.description, isApplied: false)
}
}
self.remainApplicationList = RemainApplicationList(remainOptions: remainOptions)
로 하는거 어떄요?
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.
아 이거 if로 분기 안만들고 그냥 isApplied에 삼항 연산자 쓰는거도 괜찮겠네요
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.
commit 하긴 했는데 맞나 한 번 확인 부탁드려용
Projects/Features/RemainApplyFeature/Sources/RemainApplyViewModel.swift
Outdated
Show resolved
Hide resolved
Projects/Features/RemainApplyFeature/Sources/RemainApplyViewModel.swift
Outdated
Show resolved
Hide resolved
Projects/Features/RemainApplyFeature/Sources/Component/RemainApplyListView.swift
Outdated
Show resolved
Hide resolved
Projects/Features/RemainApplyFeature/Sources/RemainApplyView.swift
Outdated
Show resolved
Hide resolved
이렇게 하는게 맞나 잘 모르겠네요..?
잔류 신청 api 연동