Repository navigation
Filter out null, empty and blank elements when mapping feed-scoped ids - #5428
Merged
vpaturet merged 1 commit intoOct 24, 2023
Merged
Conversation
vpaturet
force-pushed
the
filter_out_null_feed_scoped_id
branch
from
October 13, 2023 09:07
47a5d6a to
92905e5
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #5428 +/- ##
=============================================
+ Coverage 66.58% 66.59% +0.01%
- Complexity 15317 15321 +4
=============================================
Files 1792 1792
Lines 69538 69534 -4
Branches 7333 7332 -1
=============================================
+ Hits 46299 46307 +8
+ Misses 20756 20746 -10
+ Partials 2483 2481 -2
☔ View full report in Codecov by Sentry. |
vpaturet
force-pushed
the
filter_out_null_feed_scoped_id
branch
from
October 13, 2023 09:18
92905e5 to
dedbd23
Compare
vpaturet
marked this pull request as ready for review
October 13, 2023 09:28
t2gran
reviewed
Oct 17, 2023
jtorin
approved these changes
Oct 23, 2023
leonardehrenfried
approved these changes
Oct 24, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
As detailed in #5398, specifying a null id in the list of whitelisted lines for estimated calls causes an exception.
Null values should not be allowed as input parameters in this case.
This PR provides a general fix by filtering out null, empty and blank values when mapping ids to feed-scoped ids.
Issue
Closes #5398
Unit tests
Added unit tests
Documentation
No