Add search messages and schema updates#26
Conversation
* Add an endpoint for Bob * Repository returns all recipients with same name
There was a problem hiding this comment.
Code Review
This pull request refactors the chat application's app functions by renaming the message sending function to sendMessage (returning a simple string), updating ContactSearchResult with more descriptive fields, and introducing a new searchMessages function along with its corresponding data models and tests. The review feedback suggests validating against empty queries in searchMessages to prevent performance and privacy issues, querying messages concurrently rather than sequentially, and optimizing searchRecipients by applying take(maxCount) before mapping the elements when the query is blank.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Added app function to search messages.
Update schema with some nit renames.