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

[REFACTOR] Code 형식으로 저장되는 Enum 리팩토링 #19

Closed
wants to merge 3 commits into from
Closed

[REFACTOR] Code 형식으로 저장되는 Enum 리팩토링 #19

wants to merge 3 commits into from

Conversation

JuneParkCode
Copy link
Contributor

작업내용

(아침에 @ss0ngcode 님이 추천해주신 게시글 보고 리팩터링함)

  • EnumCodeConverterUtils 추가
  • EnumCodeConverter 추가
  • EnumCodeConverter 상속하여 Converter 작성하도록 변경
  • Code 를 사용하는 Enum의 경우 EnumCodeInterface 작성

변경 후 효과

  • 공공 API 로부터 획득하는 Response 의 경우 code - enum 으로 연결되는데, 해당 Converter 에서의 코드 중복을 막을 수 있음.

(리팩터링이라서 천천히 나중에 리뷰해주셔도 됩니다!!)

Closes #17

EnumCodeConverter 추가
EnumCodeConverter 상속하여 Converter 작성하도록 변경
Code 를 사용하는 Enum의 경우 EnumCodeInterface 작성

Closes #17
@JuneParkCode JuneParkCode added ⌨️ BE Backend 작업 📝 refactor 코드 리팩터링 labels Aug 1, 2024
@JuneParkCode JuneParkCode requested review from ss0ngcode and Gyaak August 1, 2024 07:12
@JuneParkCode JuneParkCode self-assigned this Aug 1, 2024
@JuneParkCode
Copy link
Contributor Author

FORK 에서 온 브랜치로 다시 open 할 것임

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌨️ BE Backend 작업 📝 refactor 코드 리팩터링
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REFACTOR] bus 관련 enum 리팩터링
1 participant