Skip to content

Added ability to search for users#828

Merged
Rishikant181 merged 1 commit intodevfrom
feature/user-search
Jan 19, 2026
Merged

Added ability to search for users#828
Rishikant181 merged 1 commit intodevfrom
feature/user-search

Conversation

@Rishikant181
Copy link
Owner

@Rishikant181 Rishikant181 commented Jan 19, 2026

❓ Type of Change

  • 📖 Documentation (docs, README, or comments)
  • 🐞 Bug fix (non-breaking fix for an issue)
  • 👌 Enhancement (improvement to existing functionality)
  • ✨ New feature (adds new functionality)
  • 🧹 Chore (build, tooling, dependencies)
  • ⚠️ Breaking change (affects existing usage)

📚 Description

Added function to user module to search for users. The function uses the same endpoint as tweet.search. However, instead of appending user search functionality to tweet.search, a new function was added because searching for user returns fundamentally different data type (Tweet vs User). Adding a new function instead of re-using existing tweet.search maintains backwards compatibility, and makes more logical sense (tweet.search v/s user.search).

📝 Checklist

  • Issue/discussion linked above.
  • Documentation updated (if needed).
  • Code follows project conventions and ESLint rules.
  • No sensitive data or credentials are included.

@Rishikant181 Rishikant181 merged commit d1b96ce into dev Jan 19, 2026
1 check passed
@Rishikant181 Rishikant181 deleted the feature/user-search branch January 19, 2026 13:37
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