You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first problem is the name of HttpClientSettings does not reflect the core idea of the library. It would be better PollyDefaultSettings or something like this.
The second problem is according to framework design guidelines using constructors is not very usable in this type of object. It would be better to make public setters for all settings.
The text was updated successfully, but these errors were encountered:
Yes, we could change the naming, but I prefer to avoid name PollyDefaultSettings. I understand that currently we are strongly bound to Polly, but in general case Polly is just an implementation details of our library. We able to replace Polly with something else and save our API for the end-user without changes.
Milestone v2.0.0
Milestone include major changes including breaking changes.
Full list of changes:
- Fix namespace clash between Dodo.HttpClient and System.Net.Http.HttpClient (#32)
- Add OverallTimeoutPolicy (#13)
- AddDefaultPolicies is renamed to AddResiliencePolicies (#45)
- CircuitBreaker is host specific by default. Host agnostic version is removed (#44)
- HttpClientSettings is replaced with ResiliencePoliciesSettings (#38)
- Add support of Retry-After http header (#40)
- Refactor API for end-users (#51)
- Re-write README (#24)
- Add .NET 5 support (#53)
- Fix flaky test (#52)
Problem description
The first problem is the name of
HttpClientSettings
does not reflect the core idea of the library. It would be better PollyDefaultSettings or something like this.The second problem is according to framework design guidelines using constructors is not very usable in this type of object. It would be better to make public setters for all settings.
The text was updated successfully, but these errors were encountered: