OpenAPITools / OpenAPITools/openapi-generator
[REQ][CSHARP][GENERICHOST] Replace deprecated Microsoft.Extensions.Http.Polly dependency
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
Microsoft announced that Microsoft.Extensions.Http.Polly is deprecated.
Describe the solution you'd like
We should adopt one of the supported packages instead (Microsoft.Extensions.Resilience and Microsoft.Extensions.Http.Resilience). I have not looked into the exact work to do this quite yet, but I am happy to work on this. I think we'll need to keep the polly dependency around for people generating on .net versions older than .NET 6 but we'll see.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the C# GENERICHOST generator configuration and every use of Microsoft.Extensions.Http.Polly. Check the supported Microsoft.Extensions.Resilience and Microsoft.Extensions.Http.Resilience packages against the required older .NET versions. Done means the deprecated dependency is replaced where supported without breaking generation for older targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100