-
Notifications
You must be signed in to change notification settings - Fork 1
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: readSharedExamInfo 구현 #257
Conversation
테스트 커버리지 측정
|
테스트 커버리지 측정
|
endTime = sharedExam.endTime, | ||
capacity = sharedExam.capacity, | ||
workbookId = sharedExam.workbook.id, | ||
isWriter = sharedExam.member.id == memberId, |
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.
isWriter = sharedExam.member.id == memberId, | |
role = | |
if (exam.member.id == memberId) { | |
ParticipationType.CREATOR | |
} else { | |
ParticipationType.EXAMINEE | |
}, |
이거 readAllSharedExams
기능이랑 통일감있게 이렇게 수정하는 거 어떨까욘 ExamDto
에도 suggestion 넣어둘게
val endTime: LocalDateTime, | ||
val capacity: Int, | ||
val workbookId: UUID, | ||
val isWriter: Boolean, |
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.
val isWriter: Boolean, | |
val role: ParticipationType, |
return ReadSharedExamInfoResponse( | ||
examId = examId, | ||
title = sharedExam.title, | ||
startTime = sharedExam.startTime, | ||
endTime = sharedExam.endTime, | ||
capacity = sharedExam.capacity, | ||
workbookId = sharedExam.workbook.id, | ||
isWriter = sharedExam.member.id == memberId, | ||
) |
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.
여기서 공유용 시험을 생성한 사람이 조회하는거면 응시자 id
, name
도 넘겨줘야할 것 같아요!!
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.
오오오키오키
readExamResultDetail
이 기능 쓰려면 저 정보가 어딘가엔 응답으로 들어가야할 것 같아스 ~ ~
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.
이거 api가 따로 있었네연. ㅎ
테스트 커버리지 측정
|
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.
좋아용👍🏻👼🏻🙌🤭
PR
✨ 작업 내용
✨ 참고 사항
⏰ 현재 버그
✏ Git Close #256