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: 식품 필터링 정보 메타데이터 조회 #121

Merged
merged 12 commits into from
Aug 2, 2023
Merged

Conversation

wonyongChoi05
Copy link
Collaborator

📄 Summary

#113

🙋🏻 More

Copy link
Member

@parkmuhyeun parkmuhyeun left a comment

Choose a reason for hiding this comment

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

바쁜데 추가하느라 고생했스요 👍🏻👍🏻

List<String> primaryIngredients = petFoodRepository.findAllPrimaryIngredients().stream()
.map(primaryIngredient -> asList(primaryIngredient.split(",")))
.flatMap(Collection::stream)
.distinct()
Copy link
Member

Choose a reason for hiding this comment

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

@query에서 distinct하고 있는데 여기서도 해야되나용

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

아 이게 query에서는 로우 레벨에서 한 번 걸러주고, 애플리케이션에서는 ,로 구분 후 List에서 중복 제거합니다!

@wonyongChoi05 wonyongChoi05 linked an issue Aug 2, 2023 that may be closed by this pull request
1 task
parkmuhyeun
parkmuhyeun previously approved these changes Aug 2, 2023
@wonyongChoi05 wonyongChoi05 dismissed stale reviews from kyY00n and parkmuhyeun via 4355b00 August 2, 2023 09:43
parkmuhyeun
parkmuhyeun previously approved these changes Aug 2, 2023
Copy link
Member

@parkmuhyeun parkmuhyeun left a comment

Choose a reason for hiding this comment

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

ㄱㄱ

Copy link
Collaborator

@kyY00n kyY00n left a comment

Choose a reason for hiding this comment

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

흑.. 꼭 구현합시다.

@kyY00n kyY00n merged commit 07c5159 into develop Aug 2, 2023
1 check passed
@kyY00n kyY00n deleted the feature/#113 branch August 2, 2023 12:51
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.

[BE] 식품 필터링 메타데이터 조회
4 participants