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

규칙 관련 이슈 수정 #355

Merged
merged 3 commits into from
Sep 10, 2023
Merged

규칙 관련 이슈 수정 #355

merged 3 commits into from
Sep 10, 2023

Conversation

orijoon98
Copy link
Member

✒️ 관련 이슈번호

🔑 Key Changes

  1. 대표 규칙 설정 request 로 빈 배열 받을 수 있도록 수정
  2. 홈에서 규칙 조회 로직 수정

📢 To Reviewers

  • 슬랙에서 논의된 내용이 있어서 반영했습니다!
image

@orijoon98 orijoon98 added 🐼 혁준 🐼 혁준이가 했다아~ 🔧 Fix 간단한 수정 labels Sep 7, 2023
@orijoon98 orijoon98 self-assigned this Sep 7, 2023
@@ -17,6 +15,5 @@ public class UpdateRuleRepresentRequestDto {

@ApiModelProperty(value = "설정한 대표 규칙 id 리스트", example = "[1, 2, 3]")
@NotNull(message = "{rule.list.notNull}")
@Size(min = Constraint.RULE_LIST_MIN, message = "{rule.list.min}")
Copy link
Member

@hyejungg hyejungg Sep 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

빈 배열로 들어오는 경우는 대표 규칙을 선택한 것을 모두 취소하고 싶은 경우인거죠?

그러면 API docs랑 그 저 min 저것도 지워야할것같아요!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs 는 수정했는데, min 은 다른 deprecated 예정 API 에서 아직 사용중인 곳들이 있어서 냅뒀습니다!

@hyejungg
Copy link
Member

고생하셨습니다!

@orijoon98 orijoon98 merged commit 5bd6684 into develop Sep 10, 2023
1 check passed
@orijoon98 orijoon98 deleted the fix/#354 branch September 14, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐼 혁준 🐼 혁준이가 했다아~ 🔧 Fix 간단한 수정
Projects
None yet
Development

Successfully merging this pull request may close these issues.

규칙 관련 수정
2 participants