Skip to content
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

Convert records to classes #1422

Merged
merged 3 commits into from
Jul 21, 2023
Merged

Convert records to classes #1422

merged 3 commits into from
Jul 21, 2023

Conversation

martintmk
Copy link
Contributor

@martintmk martintmk commented Jul 21, 2023

Details on the issue fix or feature implementation

These records expose unnecessary APIs that we do not want to rely on in the future if it's not used by anything.

Contributes to #1365

Confirm the following

  • I started this PR by branching from the head of the default branch
  • I have targeted the PR to merge into the default branch
  • I have included unit tests for the issue/feature
  • I have successfully run a local build

@martintmk martintmk added the v8 Issues related to the new version 8 of the Polly library. label Jul 21, 2023
@martintmk martintmk added this to the v8.0.0 milestone Jul 21, 2023
@codecov
Copy link

codecov bot commented Jul 21, 2023

Codecov Report

Merging #1422 (5bc7531) into main (7f6b8a4) will increase coverage by 0.17%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1422      +/-   ##
==========================================
+ Coverage   83.74%   83.92%   +0.17%     
==========================================
  Files         276      275       -1     
  Lines        6454     6526      +72     
  Branches     1007     1007              
==========================================
+ Hits         5405     5477      +72     
  Misses        840      840              
  Partials      209      209              
Flag Coverage Δ
linux ?
macos 83.92% <100.00%> (+0.17%) ⬆️
windows 83.92% <100.00%> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...lly.Core/Telemetry/TelemetryEventArguments.Pool.cs 100.00% <ø> (ø)
...rc/Polly.Core/Telemetry/TelemetryEventArguments.cs 100.00% <ø> (ø)
...CircuitBreaker/CircuitBreakerResilienceStrategy.cs 100.00% <100.00%> (ø)
...ircuitBreaker/Controller/CircuitStateController.cs 100.00% <100.00%> (ø)
...ly.Core/CircuitBreaker/OnCircuitClosedArguments.cs 100.00% <100.00%> (ø)
...ore/CircuitBreaker/OnCircuitHalfOpenedArguments.cs 100.00% <100.00%> (ø)
...ly.Core/CircuitBreaker/OnCircuitOpenedArguments.cs 100.00% <100.00%> (ø)
.../Polly.Core/Fallback/FallbackResilienceStrategy.cs 100.00% <100.00%> (ø)
src/Polly.Core/Hedging/Controller/TaskExecution.cs 100.00% <100.00%> (ø)
...ly.Core/Hedging/HedgingActionGeneratorArguments.cs 100.00% <100.00%> (ø)
... and 14 more

@martintmk martintmk enabled auto-merge (squash) July 21, 2023 12:14
@martintmk martintmk merged commit 7199f75 into main Jul 21, 2023
@martintmk martintmk deleted the motmka/records branch July 21, 2023 12:29
@martintmk martintmk mentioned this pull request Aug 8, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v8 Issues related to the new version 8 of the Polly library.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants