dean e4223a1a17
All checks were successful
Tests / Tests (pull_request) Successful in 9s
Add isFollowedByCurrentUser field and hasFollowing to feed query
Updated GraphQL operations to support efficient follow status checking:
- Added isFollowedByCurrentUser field to UserSocialsFields fragment
- Removed nested followers array from UserSocialsFields (over-fetching)
- Simplified followUser/unfollowUser mutations to return minimal data
- Added hasFollowing field to GetVideoFeed query for feed mode detection
- Updated getUserFollowingFollowers query to include isFollowedByCurrentUser

These changes enable the mobile app to:
- Display correct follow/unfollow button states without client-side lookups
- Differentiate between "Following" and "Popular" feed modes
- Reduce payload size by removing unnecessary nested data

Backend handles efficient resolution via request-scoped caching.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 23:44:39 -08:00
2024-02-03 15:08:27 -07:00
2024-07-18 16:37:59 -07:00
2024-10-16 15:24:08 -06:00
2024-10-28 02:24:24 -06:00

rbgql

Description
No description provided
Readme 6.5 MiB
Languages
TypeScript 97.6%
Python 1.7%
Just 0.3%
Nix 0.2%
Shell 0.2%