-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] Refactor getTrackExpenseInformation to use a parameter object #57190
Comments
Job added to Upwork: https://www.upwork.com/jobs/~021892615722799321204 |
Triggered auto assignment to @VictoriaExpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Refactor convertTrackedExpenseToRequest function to use a parameter object What is the root cause of that problem?This is an improvement What changes do you think we should make in order to solve the problem?Wrap all parameters of this function into one object and in this object, we can have some sub-objects that will wrap the related data. Line 3079 in 32cfa66
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional) |
@neil-marcellini Please assign me. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The What is the root cause of that problem?The function takes too many separate arguments instead of a single object, making it harder to read and manage. What changes do you think we should make in order to solve the problem?Change Lines 3079 to 3101 in 32cfa66
Also, update all function calls to use the new object format. Lines 4821 to 4845 in 32cfa66
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
📣 @KALU-c! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@mkzie2 @KALU-c Thank you for the proposals. Given that this is a straightforward change we'd go with the first proposal i.e. @mkzie2 `s 🎀 👀 🎀 C+ reviewed |
Current assignee @neil-marcellini is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
As part of the tracking issue, and as advised in its description, refactor
getTrackExpenseInformation
to use a parameter object.Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @s77rtThe text was updated successfully, but these errors were encountered: