refactor: [IOCOM-2800] Remove PNMessage data structure#7620
refactor: [IOCOM-2800] Remove PNMessage data structure#7620
Conversation
Jira Pull Request LinkThis Pull Request refers to Jira issues: |
PR Title Validation for conventional commit type✅ All good! PR title follows the conventional commit type. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7620 +/- ##
=======================================
Coverage 60.14% 60.14%
=======================================
Files 1882 1881 -1
Lines 41047 41051 +4
Branches 9525 9448 -77
=======================================
+ Hits 24687 24692 +5
Misses 16283 16283
+ Partials 77 76 -1
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
# Conflicts: # ts/features/pn/aar/store/selectors/__tests__/index.test.ts # ts/features/pn/aar/store/selectors/index.ts # ts/features/pn/screens/MessageDetailsScreen.tsx # ts/features/pn/screens/__test__/MessageDetailsScreen.test.tsx # ts/features/pn/store/reducers/index.ts
| const sendThirdPartyMessage = sendThirdPartyMessageEither.right; | ||
| if (sendThirdPartyMessage.details == null) { | ||
| return undefined; | ||
| } | ||
| return thirdPartyMessage as ThirdPartyMessage; |
There was a problem hiding this comment.
| const sendThirdPartyMessage = sendThirdPartyMessageEither.right; | |
| if (sendThirdPartyMessage.details == null) { | |
| return undefined; | |
| } | |
| return thirdPartyMessage as ThirdPartyMessage; | |
| const sendThirdPartyMessage = sendThirdPartyMessageEither.right; | |
| if (sendThirdPartyMessage.details == null) { | |
| return undefined; | |
| } | |
| return sendThirdPartyMessage |
why not return the decoded value directly?
There was a problem hiding this comment.
Because it is a new instance that causes the same problems that the original toPNMessage did
|
This PR is on |
|
This pull request is stale because it has been open for 60 days with no activity. If the pull request is still valid, please update it within 14 days to keep it open or merge it, otherwise it will be closed automatically. |
Short description
This PR removes PNMessage data structure
List of changes proposed in this pull request
With this PR:
How to test
Using the io-dev-api-server, check that both standard and AAR SEND messages are still working and there are no additional re-renderings