-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scrooge-generator: Provide Implementation for ServicePerEndpoint.filt…
…ered Problem / Solution Classes which extend `ServicePerEndpoint` are not provided with a working implementation of its `filtered` method. This can be confusing for users who attempt to apply a TypeAgnostic filter and find that it does't work without overriding the `filtered` method to provide a concrete implementation. Compounding the problem is that using `ServicePerEndpoint.apply` does return an instance with a working `filtered` method. So, let's delegate the implementation of the extension to the companion object. JIRA Issues: CSL-8042 Differential Revision: https://phabricator.twitter.biz/D309920
- Loading branch information
1 parent
2aec9b1
commit e46b278
Showing
4 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters