Skip to content

feat: search follows & connections by username/name#18

Merged
Tsabary merged 1 commit into
mainfrom
feat/connections-follows-search
Jul 2, 2026
Merged

feat: search follows & connections by username/name#18
Tsabary merged 1 commit into
mainfrom
feat/connections-follows-search

Conversation

@Tsabary

@Tsabary Tsabary commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds optional query + searchFields params (shared UserSearchParams) to the six follows/connections list functions: follows.fetchFollowers/fetchFollowing, connections.fetchConnections, and users.fetch{Followers,Following,Connections}ByUserId.

Mirrors the v7 server contract exactly — omitting query is unfiltered; omitting searchFields matches either username or name. The service-key userId actor param is unchanged. UserSearchParams is exported from the package index.

Requires server PR sublay-io/server-hosted#49.

🤖 Generated with Claude Code

Add optional `query` + `searchFields` params (shared `UserSearchParams`)
to the six follows/connections list functions — fetchFollowers/Following
and fetchConnections, plus the three by-user-id variants in the users
module. Mirrors the v7 server contract: omitting `query` is unfiltered;
omitting `searchFields` matches either username or name. The service-key
`userId` actor param is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Tsabary Tsabary self-assigned this Jul 2, 2026
@Tsabary Tsabary merged commit e5e2a64 into main Jul 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant