-
Notifications
You must be signed in to change notification settings - Fork 302
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
[MVC 구현하기 - 3단계] 가비 미션 제출합니다. #609
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.
안녕하세요 가비, 히이로입니다 🎵
전반적으로 요구사항 잘 수행해주셨으나 현재 application 실행 시 정상적으로 수행이 되지 않는 부분과 JsonView에서 좀 더 생각해보셨으면 하는 부분이 있어서 빠르게 리뷰드렸습니다. 아마 바로 수정해주실 수 있으실 것 같은데 반영해주신 뒤 리뷰 요청 주시면 바로 merge하게 되지 않을까 싶네요...!
마지막 미션 좀만 더 힘내서 달려보시죠!
import web.org.springframework.web.bind.annotation.RequestMethod; | ||
import webmvc.org.springframework.web.servlet.ModelAndView; | ||
import webmvc.org.springframework.web.servlet.view.JspView; | ||
|
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.
여기 @controller 어노테이션이 누락된 것 같습니다!
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.
정말 죄송합니다
마음이 급했습니다
|
||
private static final Logger log = LoggerFactory.getLogger(LoginController.class); | ||
|
||
@RequestMapping(value = "/login", method = RequestMethod.GET) |
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.
loginController와 loginViewController가 합쳐지면서 /login/view URI에 대한 요청을 처리해 줄 컨트롤러가 사라진 것 같습니다. application 구동시켜서 동작시켜보시면 현재 안되는 부분들이 있는데 확인해서 수정 부탁드릴게요!
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.
의도하고 날린 부분이었는데요
*/view 와 같은 방식으로 경로에 뷰임을 지정해줘야 하는 것도 레거시라고 생각했습니다
다만 API 명세 자체를 바꿔버린 꼴이 됐네요
요구사항 잘못 이해하고 바꾼 것 같습니다 다시 바꿔둘게요
|
||
private Object createResult(Map<String, ?> model) { | ||
if (model.size() == SINGLE_JSON_SIZE) { | ||
return model.values(); |
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.
SonarCloud Quality Gate failed. 0 Bugs 35.4% Coverage The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
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.
안녕하세요 가비, 정신이 많이 없으실텐데 마지막까지 꼼꼼하게 요구사항 잘 챙겨주셔서 감사합니다 ㅎㅎ 오늘 푹 쉬시고 내일부터 새 미션에 집중하시죠! 고생 많으셨습니다~ 👍
안녕하세요 히이로!
JspView는 2단계에서 미리 해버렸더니..
이렇게 두가지 작업을 하게 됐습니다
여유로우실때 편하게 읽어주셨으면 좋겠습니다..!