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 Dec 13, 2024
1 parent 9c88340 commit b7433dd
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 356 deletions.
Loading

0 comments on commit b7433dd

Please sign in to comment.