동아리 저장 기능 구현#70
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…vices Add getSavedClubIdSet helper and thread an optional serviceUserId through club lookups and search hydration so each returned club reflects whether the current user has saved it. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Resolve the optional caller identity and pass the resolved serviceUserId to the club and search services so list, detail, and search responses include the isSaved flag for authenticated users. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 내용
isSaved: boolean추가getSavedClubIdSet(serviceUserId: string | null, clubUuids: string[])함수를 추가. 임의의 동아리 목록에서 유저가 저장한 동아리들을 반환. club 관련 service 로직에서 이를 이용변경 이유
isSaved를 제공하지 않아, 클라에서 saved club list로 filtering하던 로직 대신, 서버에서 club에isSaved를 함께 내려주도록 수정테스트한 내용
체크