Skip to content
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

컨트롤러 레이어 리팩토링 #55

Merged
merged 17 commits into from
Dec 16, 2024
Merged

컨트롤러 레이어 리팩토링 #55

merged 17 commits into from
Dec 16, 2024

Conversation

starwook
Copy link
Contributor

@starwook starwook commented Dec 16, 2024

- questionType, Field, Act를 기반으로 Question Service 관련 빈을 반환
- 이를 통해 중복 URL API 감소
- MultipleChoiceQuestionGradeService에 적용(questionType : multiple, questionField: license,major, act:grade)
- 본문 업데이트, 개시 허용, 해설 업데이트 API 축소
- 기존 공통된 Question Update관련 로직 테스트를 구현
-  도메인 단위 구별-> 레이어별 구별 에서 레이어별 구별 -> 도메인 단위 구별로 수정
- 호출부에선 Question으로 호출하여 재사용 극대화
- QuestionClassifyCategoryService에서 인자로 와일드카드를 받고 Question 명시적 반환
- HTML 태그는 클래스단위로 관리
- 재사용 가능한 함수 분리
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@starwook starwook changed the title Cs 92 컨트롤러 레이어 리팩토링 Dec 16, 2024
@starwook starwook merged commit 1fc11d7 into main Dec 16, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant