-
Notifications
You must be signed in to change notification settings - Fork 3
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
[BE] refactor: 모임 주소 정보 요청 및 저장 방식 변경 #283
Conversation
Co-authored-by: J-I-H-O <jeongjiho0731@gmail.com> Co-authored-by: jimi567 <repday0609@gmail.com>
Co-authored-by: J-I-H-O <jeongjiho0731@gmail.com> Co-authored-by: jimi567 <repday0609@gmail.com>
Co-authored-by: J-I-H-O <jeongjiho0731@gmail.com> Co-authored-by: jimi567 <repday0609@gmail.com>
Co-authored-by: J-I-H-O <jeongjiho0731@gmail.com> Co-authored-by: jimi567 <repday0609@gmail.com>
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.
굿입니다!!
@Column(name = "city", nullable = false) | ||
private String city; | ||
|
||
@Column(name = "village", nullable = false) | ||
private String village; |
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.
👍
public static Set<SizeType> toSizeTypes(Set<String> sizeType) { | ||
return sizeType.stream() | ||
.map(SizeType::toSizeType) | ||
.collect(Collectors.toSet()); |
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.
public static Set<SizeType> toSizeTypes(Set<String> sizeType) { | |
return sizeType.stream() | |
.map(SizeType::toSizeType) | |
.collect(Collectors.toSet()); | |
public static Set<SizeType> toSizeTypes(Set<String> sizeType) { | |
return sizeType.stream() | |
.map(SizeType::toSizeType) | |
.collect(Collectors.toUnmodifiableSet()); |
불변 set으로 리턴하는 건 어떨까요?!
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.
리팩터라 크게 문제될만한 부분은 안보이네요!
enum을 request로 받을 때, 나머지 다른 요청들(있을 지는 모르겠음)도 string으로 받아야하는 부분일까요?
Co-authored-by: jimi567 <repday0609@gmail.com>
이슈
개발 사항
전달 사항
FriendoglyException
이 발생해야 합니다. 하지만FriendoglyException
이 아닌, bean validation의@NotEmpty
에 걸리는 현상을 확인했습니다.