Skip to content

Changed q to query in search #740

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

Merged
merged 1 commit into from
Jul 24, 2025
Merged

Changed q to query in search #740

merged 1 commit into from
Jul 24, 2025

Conversation

JoannaaKL
Copy link
Contributor

This it the last place where we're using q instead of query.

@Copilot Copilot AI review requested due to automatic review settings July 24, 2025 10:05
@JoannaaKL JoannaaKL requested a review from a team as a code owner July 24, 2025 10:05
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR standardizes the parameter name from q to query for the search code functionality, completing the migration to more descriptive parameter naming across the codebase.

  • Renamed parameter q to query in the search code tool implementation
  • Updated all corresponding test cases and assertions to use the new parameter name
  • Updated documentation to reflect the parameter name change

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
pkg/github/search.go Updated parameter definition and extraction from q to query
pkg/github/search_test.go Updated test assertions and test data to use query instead of q
pkg/github/toolsnaps/search_code.snap Updated snapshot test data to reflect the parameter name change
README.md Updated documentation to show query parameter instead of q

@JoannaaKL JoannaaKL merged commit efef8ae into main Jul 24, 2025
16 checks passed
@JoannaaKL JoannaaKL deleted the use-query branch July 24, 2025 10:35
@tim2346
Copy link

tim2346 commented Jul 25, 2025

Merged

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.

3 participants