-
Notifications
You must be signed in to change notification settings - Fork 9
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
서버 실시간 동기화 기능 구현 #154
서버 실시간 동기화 기능 구현 #154
Conversation
- 수정이 발생하는 controller 로직을 middleware로 이동 - publish 컨트롤러 구현
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.
고생하셨습니다 ^^7
blockRouter.post( | ||
'/parent-id/:parentId', | ||
objectIdValidator('parentId'), | ||
errorHandler(blockController.create), | ||
errorHandler(blockMiddleware.create), | ||
blockController.publish, | ||
); |
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.
publish
로직을 위한 미들웨어를 만든 다음에, 컨트롤러 후행 파라미터로 등록하는 쪽이 더 좋지 않았을까요?
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.
소켓 통신 부분이 간단한 듯 어렵네요🥺
서버 실시간 동기화 기능 구현
해당 이슈 📎
#152
변경 사항 🛠
구현내용 요약
테스트 ✨
없음
리뷰어 참고 사항 🙋♀️