Skip to content

Conversation

@jumining
Copy link
Collaborator

Related issue 🚀

Work Description 💚

배너 api 응답값에 배경색 정보 추가

PR 참고 사항

  • 2개의 db 스키마를 모두 업데이트 하였습니다.
  • db에는 단순 ','가 들어간 하나의 문자로 저장되며 response에서는 ','를 기준으로 나누어 문자열로 응답값을 보내주게 됩니다.

@jumining jumining added ✨ Feat 새로운 기능 추가 👩🏻‍💻 주민 주민이가 작성한 Label labels Nov 23, 2024
@jumining jumining requested a review from kseysh November 23, 2024 03:30
@jumining jumining self-assigned this Nov 23, 2024
Copy link
Member

@kseysh kseysh left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!


private static List<String> convertToColorArray(String input) {
String[] colorArray = input.split(",\\s*");
return Arrays.asList(colorArray);
Copy link
Member

Choose a reason for hiding this comment

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

P5. List의 불변성을 보장하려면 Arrays.asList보다 List.of를 사용하는 방법도 좋을 것 같아요!

@jumining jumining merged commit 41988b7 into develop Nov 23, 2024
1 check passed
@jumining jumining deleted the feat/#199-add-banner-background-colors branch November 23, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feat 새로운 기능 추가 👩🏻‍💻 주민 주민이가 작성한 Label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat - 배너 api response에 배경색들도 추가

3 participants