-
Notifications
You must be signed in to change notification settings - Fork 1
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
✨ [Feat] 유저의 입력 값 바탕 제일 높은 가중치의 개발자 3명 반환하는 API #151
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.
긴 코드 작성하시느라 수고하셨습니다!! 👍
queryFactory | ||
.selectFrom(developer) | ||
.where( | ||
part1Eq(requestDTO.getPart()) |
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.
part1만 조회하는 이유가 있을까요?
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.
아니요.. 그냥 제가 까먹은겁니다 ... 추가하도록 할게요!!
() -> new GlobalException(GlobalErrorCode.DEVELOPER_NOT_FOUND)); | ||
|
||
weight.put(developer.getId(), weight.get(developer.getId()) + w); | ||
w -= 0.3; |
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.
JSON 데이터를 읽어오는 과정이 복잡하긴 하지만 각 개발자들의 매칭 정도를 가중치로 표현해서 정렬하는 좋은 방식인 것 같습니다. 오류 부분을 수정하고 나서 머지하면 될 것 같습니다. 수고하셨습니다
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.
수고하셨습니다!!
📍 PR 타입
❗️ 관련 이슈 링크
Close #143
🔁 변경 및 추가사항
-> 논의 후 적절한 값으로 세팅 필요합니다.
[DeveloperServiceImpl][DeveloperRepositorympl] 중점적으로 피드백 주시면 좋을 듯합니다!!
📚 레퍼런스 (또는 새로 알게 된 내용) 혹은 궁금한 사항들
https://rst0070.github.io/java/jackson-json-node-read-n-write.html
-> developer_match 요청보내고 받은 값을 파싱하는 방법 위의 자료를 참고했습니다
✅ 체크 리스트