Skip to content

Conversation

@martincostello
Copy link
Member

  • Replicate behaviour of v7 policies and recursively check all inner exceptions and AggregateException to handle inner exceptions.
  • Refactor predicate builder test cases to make a bit more readable.
  • Use collection expression.

Resolves #2161.

- Replicate behaviour of v7 policies and recursively check all inner exceptions and `AggregateException` to handle inner exceptions.
- Refactor predicate builder test cases to make a bit more readable.
- Use collection expression.

Resolves App-vNext#2161.
@martincostello martincostello added this to the v8.4.1 milestone Jun 26, 2024
@martincostello martincostello requested a review from martintmk June 26, 2024 08:51
@codecov
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.80%. Comparing base (7105558) to head (7837eef).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2166      +/-   ##
==========================================
+ Coverage   83.78%   83.80%   +0.02%     
==========================================
  Files         313      313              
  Lines        7152     7163      +11     
  Branches     1057     1061       +4     
==========================================
+ Hits         5992     6003      +11     
  Misses        789      789              
  Partials      371      371              
Flag Coverage Δ
linux 83.80% <100.00%> (+0.02%) ⬆️
macos 83.80% <100.00%> (+0.02%) ⬆️
windows 83.80% <100.00%> (+0.02%) ⬆️

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.

Add more test coverage for nested exceptions.
Add a unit test for a `AggregateException` with no inner exeptions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Undocumented breaking changes from Policy.HandleInner to PredicateBuilder.HandleInner

2 participants