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

장소에 색상 추가 #100

Merged
merged 8 commits into from
Nov 12, 2024
Merged

장소에 색상 추가 #100

merged 8 commits into from
Nov 12, 2024

Conversation

Miensoap
Copy link
Collaborator

@Miensoap Miensoap commented Nov 11, 2024

📄 Summary

장소에 색상 추가

🙋🏻 More

지도에 장소 추가시 색상 선택
내용이 없는 페이지 요청에 대해 빈 배열 응답하도록 수정
전역 예외 필터 타입별로 분리

필터는 뒤에 선언한 것이 우선순위가 높다
image

image

🕰️ Actual Time of Completion

1H

close #86

@Miensoap Miensoap added BE 백엔드 관련 이슈입니다 🌱 기능추가 새로운 기능 요청입니다 ⚙️ 리팩터링 코드 퀄리티를 높입니다 labels Nov 11, 2024
@Miensoap Miensoap added this to the week2 milestone Nov 11, 2024
@Miensoap Miensoap self-assigned this Nov 11, 2024
@Miensoap Miensoap modified the milestones: week2, week3 Nov 11, 2024
Copy link
Collaborator

@koomchang koomchang left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

backend/resources/sql/DDL.sql Outdated Show resolved Hide resolved
Comment on lines +13 to +15
new UnknownExceptionFilter(),
new HttpExceptionFilter(),
new BaseExceptionFilter(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

q: BaseExceptionHttpException을 상속받기 때문에 실행 순서가 중요할 것 같은데요. Filter가 순서가 적용되는지 확인을 해야할 것 같습니다. 순서가 적용된다면 순서도 바꿔야 겠네요.

제가 테스트 했을 때는 효과가 없었던 것 같아서 GlobalExceptionFilter에서 if 로 구분했었거든요. 한번 확인해보고 알려주세요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

이거 PR 메시지에 적었는데요,

당연히 좁은 범위를 먼저 선언해야 할 것 같지만
반대로 넓은 범위를 먼저 선언해야 제대로 작동하더라구요

Copy link
Collaborator

Choose a reason for hiding this comment

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

이거 PR 메시지에 적었는데요,

당연히 좁은 범위를 먼저 선언해야 할 것 같지만 반대로 넓은 범위를 먼저 선언해야 제대로 작동하더라구요

헉 충격적이군요 좋습니다

backend/src/map/map.service.ts Outdated Show resolved Hide resolved
@koomchang koomchang self-requested a review November 11, 2024 16:48
Copy link
Collaborator

@hyohyo12 hyohyo12 left a comment

Choose a reason for hiding this comment

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

수고했습니다!

@Miensoap Miensoap merged commit 8d72ad6 into develop Nov 12, 2024
2 checks passed
@Miensoap Miensoap deleted the feature/#86 branch November 13, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드 관련 이슈입니다 ⚙️ 리팩터링 코드 퀄리티를 높입니다 🌱 기능추가 새로운 기능 요청입니다
Projects
None yet
Development

Successfully merging this pull request may close these issues.

장소에 색상 칼럼을 추가한다
3 participants