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

[수정] MyMealHistory 진입시 댓글 fetch 안하게 변경 #137

Merged
merged 2 commits into from
May 31, 2024

Conversation

sunshiningsoo
Copy link
Member

관련 이슈들

작업 내용

  • 기존 프로필뷰 진입시, 모든 글에 대해 댓글 fetch 하는 과정을 지우고 디테일뷰로 들어가는 경우의 Meal에 대해서만 댓글을 fetch하게 변경
    • FeedView에 뜨는 Meal들은(24시간 내) 앱 로드시에 댓글을 가져옴
    • ProfileView에서 Meal을 선택해 DetailView로 넘어가는 상황에서, FeedView에 없는 Meal 대상으로만 댓글을 fetch함
  • ProfileView 접근시 파일 읽기 비용 줄어들 것으로 기대!

- 기존 모든 글에 대해 fetch 하는 과정을 줄이고, 보는 Meal에 대해서만 댓글을 fetch 함
@sunshiningsoo sunshiningsoo added the enhancement New feature or request label May 30, 2024
@sunshiningsoo sunshiningsoo self-assigned this May 30, 2024
Copy link
Contributor

@eunbkang eunbkang left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!!
파베에 댓글 저장하는 구조도 고민이 필요하겠네요!

@sunshiningsoo
Copy link
Member Author

@eunbkang firestore같은 NoSQL 장점이 document path 지정해서 데이터들 바로 가져오는 거라 느껴서 이런 장점 더 활용해서 바꿔봐도 좋을 것 같슴다!!👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants