[Feature request]: Generic version extending non-generic version
Iyer-Narayan opened this issue · 2 comments
Iyer-Narayan commented
Is your feature request related to a specific problem? Or an existing feature?
It would be extremely helpful if generic apis inherited from their corresponding non-generic versions. This would help avoid a lot of duplicate code for the consumers.
A classic example of this would be Task<T>
inheriting Task in C#.
Inheritance:
Describe the solution you'd like
Generic apis should inherit from their non-generic apis.
ResiliencyPipeline<T>
: ResiliencyPipeline
IAsyncPolicy<T>
: IAsyncPolicy
Additional context
No response
martincostello commented
This is something unlikely to be considered at this stage, as it would a huge breaking change.
martincostello commented
Thanks for the suggestion, but I'm going to close this as it's not something we can realistically change at this stage as it would be massively breaking for our users.