-
Notifications
You must be signed in to change notification settings - Fork 1
강의 일기장 작성, 조회 및 질문 목록 관리 API 추가 #378
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
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.
보려했으나 신기능 이해가 필요할 것 같아서 보류 😢
@Bean | ||
@DiaryDocs | ||
fun diaryRouter() = | ||
v1CoRouter { |
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.
오랫동안 방치되긴 했는데
v1CoRouter라는게 사실 구버전에서 버전 없이 요청하는 경우를 지원하기 위한 용도라
coRouter 써도 좋을듯
리뷰해준거 반영했는데 같은 이름의 activity가 여러 개 생성되게 하고 싶지 않아서 삭제는 없고 활성화/비활성화만 있고, id로 주고받는 부분은 안했어요 |
어라 근데 v1CoRouter를 써야 하는거 아니야? |
d2b4d13
to
7ac3306
Compare
core/src/main/kotlin/diary/repository/DiarySubmissionRepository.kt
Outdated
Show resolved
Hide resolved
@eastshine2741 리뷰해준거 추가로 반영했어 내가 몇개 그냥 지나쳤었네.. |
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.
ㅋㅋㅋㅋㅋ내가 너무 많이 달아서,,, 고생했당
너무 늦어지는거 같아서 일단 머지할게요 |
아직 어떤 강의에 대해 알림을 보내는 부분은 구현 안했어요
activityType이나 question은 db에서 삭제되거나 내용이 수정되지 않고, activityType은 name을 unique하게 하고 활성/비활성화로 관리, question은 비활성화 시킨 다음 새로운 것을 추가하는 방식으로 관리하게 했습니다
서버와 통신할때 activityType은 이름으로, question은 id로 주고받도록 했는데 둘다 id가 낫다면 바꿔볼게요
/admin/diary 에 추가된것:
/diary 로 추가된것: