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] #113 - 상품상세정보 조회 api 구해요 상품 이슈 해결 #114

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

hyerinhwang-sailin
Copy link
Collaborator

@hyerinhwang-sailin hyerinhwang-sailin commented Jan 21, 2025

Related issue 🛠

Work Description ✏️

상품상세정보 조회 시 구해요 상품은 productCondition가 null인데 이를 .toString을 시도하면서 에러가 발생했습니다.
그래서 dto 생성 시 productCondition null 체크 추가하여 null일 경우 string화하지 않고 null을 반환하도록 했습니다.
또한 @JsonInclude(JsonInclude.Include.NON_NULL) 어노테이션을 통해 null일 경우 dto에서 제외하도록 했습니다.

Trouble Shooting ⚽️

Related ScreenShot 📷

Uncompleted Tasks 😅

To Reviewers 📢

Copy link
Collaborator

@sae2say sae2say left a comment

Choose a reason for hiding this comment

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

lgtm

@hyerinhwang-sailin hyerinhwang-sailin merged commit b967cd0 into develop Jan 21, 2025
1 check passed
@hyerinhwang-sailin hyerinhwang-sailin changed the title [#113] feat(ProductDetailDto): productCondition null 체크 추가 및 null일 경우… [feat] #113 - 상품상세정보 조회 api 구해요 상품 이슈 해결 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] 상품상세정보 조회 api 구해요 상품 이슈 해결
2 participants