-
-
Notifications
You must be signed in to change notification settings - Fork 44
Adding advanced search. Fixes issue #216. #220
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
Conversation
There was a problem hiding this 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 implements advanced search functionality for Companies House, addressing issue #216. The implementation introduces a new advanced search capability that supports filtering companies by multiple criteria beyond the basic query string search.
- Refactors existing search infrastructure to support both query-based and advanced search patterns
- Adds comprehensive advanced search functionality with support for company name includes/excludes, status, type, incorporation dates, location, and SIC codes
- Includes extensive test coverage for all advanced search parameters
Reviewed Changes
Copilot reviewed 38 out of 38 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| AdvancedSearchCompanyRequest.cs | New request model defining all advanced search parameters |
| AdvancedSearchCompanyUriBuilder.cs | URI builder implementing query string construction for advanced search |
| SearchUriBuilder.cs | Refactored base class with improved parameter handling and enum serialization |
| SearchRequest.cs | Refactored to separate query-based and general search request interfaces |
| CompaniesHouseClient.cs | Added SearchCompanyAdvancedAsync method to main client interface |
| Various test files | Comprehensive test coverage for all advanced search scenarios |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Updated Dockerfile to use uppercase 'AS' for build stages.
Adding advanced search.
Fixes issue #216.