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: Http 응답 코드 관련 필터 추가 #227

Open
June1010 opened this issue Dec 11, 2022 · 0 comments
Open

feat: Http 응답 코드 관련 필터 추가 #227

June1010 opened this issue Dec 11, 2022 · 0 comments
Assignees
Labels

Comments

@June1010
Copy link
Member

피처 개요

Exception 필터를 통해 응답 코드에 대한 핸들링 로직 추가

피처 설명

현재 Http 응답 body의 statusCode가 400~500번대더라도 응답 코드는 nest.js 기본 코드인 200, 201이 응답. 필터 & 인터셉터를 활용하여 디폴트값을 오버라이드 해서 응답으로 내려주게끔 변경.

체크리스트

No response

관련 정보

No response

@June1010 June1010 self-assigned this Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant