-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/#559 행사에 여러 개 이미지 등록 기능 구현 #580
The head ref may contain hidden characters: "Feature/#559-\uD589\uC0AC\uC5D0_\uC5EC\uB7EC_\uAC1C_\uC774\uBBF8\uC9C0_\uB4F1\uB85D_\uAE30\uB2A5_\uAD6C\uD604"
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.
수고하셨습니다! 코드를 꼼꼼하게 짜주셔서 크게 수정할만한 점은 보이지 않네요.
approve하겠습니다!
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.
전체적으로 따로 수정할 부분은 보이지 않는 것 같아요. approve 하겠습니다.
수고하셨어요.
POST | ||
|
||
[source] | ||
---- |
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.
요거 맛있네요. 잘 풀어낸 것 같아요.
@@ -183,54 +201,42 @@ void updateEventTest() throws Exception { | |||
event.getInformationUrl(), event.getEventPeriod().getStartDate(), | |||
event.getEventPeriod().getEndDate(), | |||
event.getEventPeriod().getApplyStartDate(), event.getEventPeriod().getApplyEndDate(), tags, | |||
event.getImageUrl(), event.getType(), EventMode.OFFLINE, PaymentType.PAID); | |||
event.getImageUrl(), event.getType(), EventMode.OFFLINE, PaymentType.PAID, null); |
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.
사소한 부분입니다.
여기서 request에서 MultipartFile 부분을 null을 주시고, 실제 response에서는 반환을 하도록 하셨더라고요.
코드 상으론 전혀 문제가 없지만 나중에 문서를 읽어보는 입장에서는 조금 헷갈릴 수도 있을 것 같아요.
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.
감사합니다 response 도 null 로 바꿔버렸습니다
.param("startDateTime", | ||
request.getStartDateTime().format(DateTimeFormatter.ofPattern("yyyy:MM:dd:HH:mm:ss"))) | ||
.param("endDateTime", | ||
request.getEndDateTime().format(DateTimeFormatter.ofPattern("yyyy:MM:dd:HH:mm:ss"))) |
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.
멀티 파트개빡세네요 수고하셨습니다...
//when & then | ||
mockMvc.perform(post("/events") | ||
.param("name", "인프콘 2023") | ||
.param("location", "코엑스") |
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.
수고하셨습니다~!
|
||
@RequiredArgsConstructor | ||
@Getter | ||
@Setter |
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.
혹시 이 setter가 어디서 필요한건가요?
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.
쿼리 스트링으로 객체 받으려면 setter를 써야하는 것으로 알고 있어서 작성해주었습니다!
제가 잘못 알고 있다면 말씀해주세요!
#️⃣연관된 이슈
📝작업 내용
예상 소요 시간 및 실제 소요 시간
9/21 예상
9/20 완료