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

[Feat] 카테고리 Validation 검증 로직 및 비기능 개발 #48

Closed
8 tasks done
galug opened this issue Mar 12, 2024 · 0 comments · Fixed by #52
Closed
8 tasks done

[Feat] 카테고리 Validation 검증 로직 및 비기능 개발 #48

galug opened this issue Mar 12, 2024 · 0 comments · Fixed by #52
Assignees
Labels
🐛 bug 버그 관련 ♻️ refactor 리펙터링 관련 ✨ feature 기능 구현 관련

Comments

@galug
Copy link
Contributor

galug commented Mar 12, 2024

Type of change

  • Feature : 새로운 기능 추가
  • Refactor : 코드 리팩토링 작업

Description

형식적 혹은 논리적 validation 이 필요한 지점을 찾고 이에 대한 검증 처리를 해주겠습니다.

Todo

  • 카테고리
    • 카테고리 생성 : 카테고리의 주인이 생성을 하는지
    • 카테고리 수정 : 카테고리의 주인이 수정을 하는지
    • 카테고리 삭제 : 카테고리의 주인이 삭제를 하는지
      • 카테고리 삭제 시 기본 카테고리가 삭제 되지 않게끔 유지
      • 모임 스케줄 생성시 모임 스케줄이 들어가게끔 변경

Reference(Optional)

@galug galug added 🐛 bug 버그 관련 ✨ feature 기능 구현 관련 ♻️ refactor 리펙터링 관련 labels Mar 12, 2024
@galug galug self-assigned this Mar 12, 2024
@galug galug changed the title [Feat] Validation 검증 로직 짜기 [Feat] 카테고리 Validation 검증 로직 및 비기능 개발 Mar 14, 2024
@galug galug changed the title [Feat] 카테고리 Validation 검증 로직 및 비기능 개발 [bug] 카테고리 Validation 검증 로직 및 비기능 개발 Mar 14, 2024
@galug galug changed the title [bug] 카테고리 Validation 검증 로직 및 비기능 개발 [Bug] 카테고리 Validation 검증 로직 및 비기능 개발 Mar 14, 2024
@galug galug changed the title [Bug] 카테고리 Validation 검증 로직 및 비기능 개발 [Feat] 카테고리 Validation 검증 로직 및 비기능 개발 Mar 14, 2024
galug pushed a commit that referenced this issue Mar 14, 2024
<body>
- CategoryService.java
  - 유저의 카테고리인지 확인하는 로직 추가

<footer>
- 관련: #48
@galug galug linked a pull request Mar 14, 2024 that will close this issue
2 tasks
galug pushed a commit that referenced this issue Mar 28, 2024
<body>

<footer>
- 관련: #48
galug pushed a commit that referenced this issue Mar 28, 2024
<body>
- Category.java, CategoryKind.java
  - 정책 변경에 따라 CategoryKind.java 생성
  - Category 에 기본 일정들을 구분 가능한 Kind 생성
- CategoryRequest.java, CategoryName.java, CategoryValidator.java
  - 기존 검증 로직 변경 및 삭제
  - 정책 변경에 따른 이름을 통한 구분 필요 없어짐
CategoryService.java
  - 정책에 맞게 검증 수준을 변경

<footer>
- 관련: #48
galug pushed a commit that referenced this issue Mar 28, 2024
<body>
- Category.java, CategoryConverter.java
  - kind 를 Category에 넣게끔 추가
- SocialUtils.java
  - 네이버 로그인 시에는 nickname이 null 값으로 받아집니다.
  - 공통 로직 toUser 를 냅두는 방향으로 변경했습니다.
  - 좀 더 좋은 구조를 고민해 보면 좋을 것 같아요.
- CategoryKind.java, UserFacade.java
  - Enum 타입의 활용을 위한 변수명 추가
  - Enum 타입을 활용하기 위한 Facade 변경

<footer>
- 관련: #48
galug pushed a commit that referenced this issue Mar 28, 2024
<body>
- querydsl 을 이용해서 kind 를 기반으로 스케줄을 입력 받게 변경

<footer>
- 관련: #48
galug pushed a commit that referenced this issue Mar 29, 2024
<body>
- application-aws.yml
  - base-url-images 환경 변수로 빼기
- BaseResponseStatus.java
  - 오류명 적절하게 변경
- Moim.java
  - 모임 생성시 memberCount 는 0이 되어야함
- MoimFacade.java
  - BASSE_URL 환경 변수로 빼기
  - color 를 찾는 로직 코드 리팩토링

<footer>
- 관련: #48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 버그 관련 ♻️ refactor 리펙터링 관련 ✨ feature 기능 구현 관련
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant