-
Notifications
You must be signed in to change notification settings - Fork 72
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: added null check for nullable values in formatContractResult() #3210
fix: added null check for nullable values in formatContractResult() #3210
Conversation
Signed-off-by: Logan Nguyen <[email protected]>
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.
LG.
Signed-off-by: Logan Nguyen <[email protected]>
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3210 +/- ##
==========================================
- Coverage 83.16% 83.11% -0.05%
==========================================
Files 66 66
Lines 4312 4312
Branches 843 843
==========================================
- Hits 3586 3584 -2
- Misses 483 485 +2
Partials 243 243
Flags with carried forward coverage won't be shown. Click here to find out more. |
…3210) * fix: added null check for nullable values in formatContractResult() Signed-off-by: Logan Nguyen <[email protected]> * fix: fixed unit tests Signed-off-by: Logan Nguyen <[email protected]> --------- Signed-off-by: Logan Nguyen <[email protected]>
…3210) * fix: added null check for nullable values in formatContractResult() Signed-off-by: Logan Nguyen <[email protected]> * fix: fixed unit tests Signed-off-by: Logan Nguyen <[email protected]> --------- Signed-off-by: Logan Nguyen <[email protected]>
fix: added null check for nullable values in formatContractResult() (#3210) * fix: added null check for nullable values in formatContractResult() * fix: fixed unit tests --------- Signed-off-by: Logan Nguyen <[email protected]>
…ontractResult() (#3210)" This reverts commit ca044f1. Signed-off-by: Logan Nguyen <[email protected]>
…ontractResult() (#3210)" (#3216) This reverts commit ca044f1. Signed-off-by: Logan Nguyen <[email protected]>
Description:
This PR adds null checks for nullable values in
formatContractResult()
to ensure that, if null values are passed in, they are handled correctly rather than causing aCannot read properties of null (reading...)
error.Related issue(s):
Fixes #3209
Notes for reviewer:
Checklist