Skip to content

Refactor contract queries and commands structure#684

Merged
StuartFerguson merged 1 commit intomainfrom
task/#621_add_contract_to_merchant
Jan 25, 2026
Merged

Refactor contract queries and commands structure#684
StuartFerguson merged 1 commit intomainfrom
task/#621_add_contract_to_merchant

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

  • Move contract-related queries to new ContractQueries class
  • Introduce ContractDropDownModel and related conversion methods
  • Update merchant contract assignment to use dropdown model
  • Move AssignContractToMerchant to MerchantCommands
  • Add IApiClient methods for recent contracts and dropdowns
  • Add EstateReportingApiClient.GetContracts method
  • Update handlers, mediator, and tests for new structure
  • Minor bug fixes and code cleanup for clarity and maintainability
    closes Add Contract to merchant #621

- Move contract-related queries to new ContractQueries class
- Introduce ContractDropDownModel and related conversion methods
- Update merchant contract assignment to use dropdown model
- Move AssignContractToMerchant to MerchantCommands
- Add IApiClient methods for recent contracts and dropdowns
- Add EstateReportingApiClient.GetContracts method
- Update handlers, mediator, and tests for new structure
- Minor bug fixes and code cleanup for clarity and maintainability
@StuartFerguson StuartFerguson merged commit b270d72 into main Jan 25, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#621_add_contract_to_merchant branch March 26, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Contract to merchant

1 participant