-
Notifications
You must be signed in to change notification settings - Fork 109
refactor: [IOCOM-2676] Store full recipientInfo object in SEND AAR reducer #7484
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
base: master
Are you sure you want to change the base?
Conversation
PR Title Validation for conventional commit type✅ All good! PR title follows the conventional commit type. |
Jira Pull Request LinkThis Pull Request refers to Jira issues: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7484 +/- ##
=======================================
Coverage 59.60% 59.60%
=======================================
Files 1830 1830
Lines 39525 39525
Branches 9119 9060 -59
=======================================
Hits 23559 23559
- Misses 15885 15896 +11
+ Partials 81 70 -11
... and 13 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
…-deve-avere-solo-full-name-destinatario-ma-lintero-oggetto-denomination-restituito-dal-backend
type: sendAARFlowStates.displayingNotificationData, | ||
fullNameDestinatario: "mario rossi", | ||
recipientInfo: { | ||
denomination: "nomecognome", |
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.
denomination: "Mario Rossi"
fullNameDestinatario: "mario rossi", | ||
recipientInfo: { | ||
denomination: "nomecognome", | ||
taxId: "taxID" |
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.
taxId: "RSSMRA74D22A001Q"
mandateId: "MANDATE123", | ||
fullNameDestinatario: "Mario Rossi" | ||
recipientInfo: { | ||
denomination: "nomecognome", |
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.
denomination: "Mario Rossi"
taxId: "RSSMRA74D22A001Q"
iun: "123123", | ||
fullNameDestinatario: "nomecognome", | ||
recipientInfo: { | ||
denomination: "nomecognome", |
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.
denomination: "Mario Rossi"
taxId: "RSSMRA74D22A001Q"
iun: "123123", | ||
fullNameDestinatario: "nomecognome", | ||
recipientInfo: { | ||
denomination: "nomecognome", |
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.
denomination: "Mario Rossi"
taxId: "RSSMRA74D22A001Q"
type: sendAARFlowStates.fetchingNotificationData, | ||
iun, | ||
fullNameDestinatario: recipientInfo.denomination, | ||
recipientInfo, |
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.
Maybe it's better to create a new instance via spread (see above)
type: sendAARFlowStates.notAddresseeFinal, | ||
iun: data.value.iun, | ||
fullNameDestinatario: data.value.recipientInfo.denomination, | ||
recipientInfo: data.value.recipientInfo, |
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.
Maybe it's better to create a new instance via spread (see above)
iun: "000000000001", | ||
fullNameDestinatario: "Mario Rossi" | ||
recipientInfo: { | ||
denomination: "nomecognome", |
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.
denomination: "Mario Rossi"
taxId: "RSSMRA74D22A001Q"
type: "displayingNotificationData", | ||
fullNameDestinatario: "Mario Rossi", | ||
recipientInfo: { | ||
denomination: "nomecognome", |
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.
denomination: "Mario Rossi"
taxId: "RSSMRA74D22A001Q"
type: "notAddresseeFinal", | ||
fullNameDestinatario: "Mario Rossi", | ||
recipientInfo: { | ||
denomination: "nomecognome", |
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.
denomination: "Mario Rossi"
taxId: "RSSMRA74D22A001Q"
Short description
This PR updates the AAR reducer state to store the full
recipientInfo
object returned by the backend instead of just thefullNameDestinatario
string.List of changes proposed in this pull request
recipientInfo
object.How to test
Automated tests should succeed