Skip to content

Refactor operator retrieval to use GetProductOperators#530

Merged
StuartFerguson merged 2 commits intomainfrom
task/#518_complete_todo
Apr 15, 2026
Merged

Refactor operator retrieval to use GetProductOperators#530
StuartFerguson merged 2 commits intomainfrom
task/#518_complete_todo

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Moved operator grouping logic from ViewModels to a new GetProductOperators request/handler in MerchantRequestHandler. Updated ViewModels and tests to use the new request. Switched DI to MediatR assembly scanning. Added error handling for operator loading failures and cleaned up code.

closes #518
closes #517

Moved operator grouping logic from ViewModels to a new GetProductOperators request/handler in MerchantRequestHandler. Updated ViewModels and tests to use the new request. Switched DI to MediatR assembly scanning. Added error handling for operator loading failures and cleaned up code.
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 14, 2026

Up to standards ✅

🟢 Issues 2 minor

Results:
2 new issues

Category Results
CodeStyle 2 minor

View in Codacy

🟢 Metrics 5 complexity · -1 duplication

Metric Results
Complexity 5
Duplication -1

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@StuartFerguson StuartFerguson merged commit 2410187 into main Apr 15, 2026
10 of 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.

[BestPractice] Complete the task associated to this 'TODO' comment. [BestPractice] Complete the task associated to this 'TODO' comment.

1 participant