Skip to content

Cache merchant details after login and reuse in account#656

Merged
StuartFerguson merged 2 commits into
mainfrom
task/#651_load_merchant_at_login
Jul 9, 2026
Merged

Cache merchant details after login and reuse in account#656
StuartFerguson merged 2 commits into
mainfrom
task/#651_load_merchant_at_login

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Added GetMerchantDetails to LoginPageViewModel and updated the login flow to fetch and cache merchant details. Modified MyAccountPageViewModel to use cached merchant details when available, reducing redundant queries and improving efficiency.

closes #651

Added GetMerchantDetails to LoginPageViewModel and updated the login flow to fetch and cache merchant details. Modified MyAccountPageViewModel to use cached merchant details when available, reducing redundant queries and improving efficiency.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · -2 duplication

Metric Results
Complexity 0
Duplication -2

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown
Member Author

Note: I found a potential stale-cache issue during review and raised bug #657 to track the follow-up fix.

@StuartFerguson StuartFerguson merged commit 8768e68 into main Jul 9, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Load and cache Merchant record on Logon

1 participant