-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the v8 README.md #1548
Add the v8 README.md #1548
Conversation
5cdf5bc
to
32f9cf8
Compare
cc @peter-csala if you are interested, your feedback is greatly appreactiated too. |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1548 +/- ##
=======================================
Coverage 83.92% 83.92%
=======================================
Files 279 279
Lines 6518 6518
Branches 1017 1017
=======================================
Hits 5470 5470
Misses 839 839
Partials 209 209
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
0f1a346
to
729e40a
Compare
290f228
to
b9e4d86
Compare
0995e5d
to
c269fc9
Compare
docs/general.md
Outdated
|
||
## Supported targets | ||
|
||
Polly targets .NET Standard 2.0+ ([coverage](https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support): .NET Core 2.0+, .NET Core 3.0, and later Mono, Xamarin and UWP targets). The NuGet package also includes direct targets for .NET Framework 4.6.1 and 4.7.2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Polly targets .NET Standard 2.0+ ([coverage](https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support): .NET Core 2.0+, .NET Core 3.0, and later Mono, Xamarin and UWP targets). The NuGet package also includes direct targets for .NET Framework 4.6.1 and 4.7.2. | |
Polly targets .NET Standard 2.0+ ([coverage](https://docs.microsoft.com/dotnet/standard/net-standard#net-implementation-support): .NET Core 2.0+, .NET Core 3.0, and later Mono, Xamarin and UWP targets). The NuGet package also includes direct targets for .NET Framework 4.6.1 and 4.7.2. |
docs/general.md
Outdated
|
||
## Supported targets | ||
|
||
Polly targets .NET Standard 2.0+ ([coverage](https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support): .NET Core 2.0+, .NET Core 3.0, and later Mono, Xamarin and UWP targets). The NuGet package also includes direct targets for .NET Framework 4.6.1 and 4.7.2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the TFMs for v8?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
README_V8.md
Outdated
``` | ||
<!-- endSnippet --> | ||
|
||
If all retries fail, a retry strategy rethrows the final exception back to the calling code. For more depth visit [retry strategy documentation](https://github.com/App-vNext/Polly/wiki/Retry). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If all retries fail, a retry strategy rethrows the final exception back to the calling code. For more depth visit [retry strategy documentation](https://github.com/App-vNext/Polly/wiki/Retry). | |
If all retries fail, a retry strategy rethrows the final exception back to the calling code. For more details visit the [retry strategy documentation](https://github.com/App-vNext/Polly/wiki/Retry). |
README_V8.md
Outdated
``` | ||
<!-- endSnippet --> | ||
|
||
If all retries fail, a retry strategy rethrows the final exception back to the calling code. For more depth visit [retry strategy documentation](https://github.com/App-vNext/Polly/wiki/Retry). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this point to a newer stub too? Similar comments throughout this file to avoid linking to the Wiki in these new files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update these in follow-up
src/Snippets/Docs/Hedging.cs
Outdated
new ResiliencePipelineBuilder<HttpResponseMessage>() | ||
.AddHedging(new HedgingStrategyOptions<HttpResponseMessage>()); | ||
|
||
// Add a customized hedging strategy that retries up to 3 times if the execution | ||
// takes longer than 1 second or if it fails due to an exception | ||
// or returns a 500 Internal Server Error. | ||
// takes longer than 1 second or if it fails due to an exception or returns an HTTP 500 Internal Server Error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// takes longer than 1 second or if it fails due to an exception or returns an HTTP 500 Internal Server Error. | |
// takes longer than 1 second or if it fails due to an exception or returns an HTTP 500 Internal Server Error. |
Details on the issue fix or feature implementation
README_V8.md
that describes v8 API.Compared to v7
README.md
the new one is much leaner with more beefier sections extracted into separate documents. Some docs are still missing or incomplete, I'll address these in follow-up PRs to not make this one huge.Contributes to #1091
Confirm the following