Skip to content

Conversation

@kevbite
Copy link
Owner

@kevbite kevbite commented Aug 20, 2025

Adding advanced search.

Fixes issue #216.

@kevbite kevbite requested review from Copilot and sakisk August 20, 2025 20:07
@kevbite kevbite self-assigned this Aug 20, 2025
Copy link
Contributor

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 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.

@github-actions
Copy link

github-actions bot commented Aug 20, 2025

Test Results

0 files   -   4  0 suites   - 4   0s ⏱️ -43s
0 tests  - 110  0 ✅  - 110  0 💤 ±0  0 ❌ ±0 
0 runs   - 345  0 ✅  - 345  0 💤 ±0  0 ❌ ±0 

Results for commit 27729d5. ± Comparison against base commit e9985c9.

♻️ This comment has been updated with latest results.

kevbite and others added 4 commits August 22, 2025 22:25
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.
@kevbite kevbite merged commit c31324b into master Aug 23, 2025
1 of 3 checks passed
@kevbite kevbite deleted the issue216 branch August 23, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants