| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR introduces an optional string array parameter handling to fix an integration bug where parameters provided as []any were not properly coerced to []string.
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pkg/github/server_test.go | New test cases for validating optional string array parameter handling. |
| pkg/github/server.go | New helper function optionalStringArrayParam with improved type checking and error messages. |
| pkg/github/issues_test.go | Updated test cases to provide []any for assignees and labels. |
| pkg/github/issues.go | Replaced use of generic optionalParam with optionalStringArrayParam for parameters conversion. |
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Fixes an integration bug introduced in #82, where the MCP host was providing a slice that was treated as []any and not coerced to []string.