Repository navigation
feat: 학과를 정해진 목록에서만 받기 - #172
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
무엇을
학과를 자유 입력 대신 정해진 목록(상명대 서울캠퍼스 36개)에서만 받음 (AI팀 요청)
GET /api/v1/departments추가: 단과대학별 학과 목록. 비회원도 부름(가입 화면), 1시간 캐시{"colleges": [{"name": "융합공과대학", "departments": [{"name": "컴퓨터과학전공", "division": "SW융합학부"}]}]}name이 저장 값.division은 속한 학부 · 학과, 선택지 자체가 학과 · 학부면 없음profile.department) · 프로필 수정(department): 목록에 없는 값이면 400VALIDATION_FAILEDDepartments한 곳에만 둠. DB 구조 · 매칭 코드는 그대로왜
같은 학과를
컴퓨터과학과·컴과처럼 다르게 적으면 매칭 학과 가산점(+0.2)이 붙지 않음기존 데이터
배포 전이라 옮길 데이터 없음. 로컬 DB의 옛 값은 프로필 수정 전까지 그대로 보임
테스트
GET /api/v1/admin/members(DEV)도 함께 추가해 129개./gradlew test통과