Skip to content

Commit

Permalink
Break GroupingSearch into subclasses, apache#1059
Browse files Browse the repository at this point in the history
This still needs XML doc comments, but this breaks the GroupingSearch
"god class" into three subclasses that implement a common abstract
class. This should allow us to not need covariant interfaces for the
return types.

In order to randomly switch between these classes with incompatible
generic type arguments, the test shows how you can use a delegate to
work around this limitation.
  • Loading branch information
paulirwin committed Jan 1, 2025
1 parent d95a40b commit 14795de
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 356 deletions.
Loading

0 comments on commit 14795de

Please sign in to comment.