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

Fix PipelineNameComparer example in documentation #1931

Merged

Conversation

jwagon
Copy link
Contributor

@jwagon jwagon commented Jan 26, 2024

Pull Request

The issue or feature being addressed

#1926

Details on the issue fix or feature implementation

In the Complex Pipeline Keys documentation example:

https://www.pollydocs.org/advanced/dependency-injection.html#complex-pipeline-keys

PipelineNameComparer.GetHashCode takes the InstanceName into account, but shouldn't. This fixes that line in the documentation and snippet.

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

Addresses App-vNext#1926

In the Complex Pipeline Keys documenation example:

https://www.pollydocs.org/advanced/dependency-injection.html#complex-pipeline-keys

PipelineNameComparer.GetHashCode takes the InstanceName into account, but shouldn't. This fixes that line in the documentation.
Addresses App-vNext#1926

In the Complex Pipeline Keys documenation example:

https://www.pollydocs.org/advanced/dependency-injection.html#complex-pipeline-keys

PipelineNameComparer.GetHashCode takes the InstanceName into account, but shouldn't. This fixes that line in the documentation.
Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (eb63dab) 84.79% compared to head (583c3f1) 84.81%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1931      +/-   ##
==========================================
+ Coverage   84.79%   84.81%   +0.01%     
==========================================
  Files         312      312              
  Lines        6893     6901       +8     
  Branches     1056     1056              
==========================================
+ Hits         5845     5853       +8     
  Misses        839      839              
  Partials      209      209              
Flag Coverage Δ
linux 84.81% <ø> (+0.01%) ⬆️
macos 84.81% <ø> (+0.01%) ⬆️
windows ?

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello martincostello enabled auto-merge (squash) January 26, 2024 22:27
@martincostello martincostello merged commit 78deba5 into App-vNext:main Jan 26, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question]: Complex Pipeline Keys documentation example not working as expected
2 participants