Skip to content

v6 - Architecture - Remove ViewModel concept#2685

Merged
OscarSpruit merged 1 commit intomainfrom
chore/v6-architecture-remove-view-model-concept
Apr 9, 2026
Merged

v6 - Architecture - Remove ViewModel concept#2685
OscarSpruit merged 1 commit intomainfrom
chore/v6-architecture-remove-view-model-concept

Conversation

@OscarSpruit
Copy link
Copy Markdown
Contributor

Description

In this concept every payment method composable created it's own ViewModel. We decided to go with a different approach.

Ticket Number

COSDK-1115

@OscarSpruit OscarSpruit requested a review from a team as a code owner April 8, 2026 14:10
@OscarSpruit OscarSpruit added the Chore [PRs only] Indicates any task that does not need to be mentioned in the public release notes label Apr 8, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the MBWayProvider class and its associated infrastructure, including the interface and registration logic in PaymentMethodProvider. The MBWayInitializer has been updated to remove the registration of the provider. I have identified an unused import in MBWayInitializer.kt that should be removed to maintain code cleanliness.

Base automatically changed from chore/v6-architecture-compojnent-in-controller to main April 8, 2026 14:20
In this concept every payment method composable created it's own ViewModel. We decided to go with a different approach.

COSDK-1115
@OscarSpruit OscarSpruit force-pushed the chore/v6-architecture-remove-view-model-concept branch from 28cc591 to ce2b90d Compare April 8, 2026 14:32
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

✅ No public API changes

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@OscarSpruit OscarSpruit enabled auto-merge April 9, 2026 11:38
@OscarSpruit OscarSpruit added this pull request to the merge queue Apr 9, 2026
Merged via the queue into main with commit d10384c Apr 9, 2026
11 checks passed
@OscarSpruit OscarSpruit deleted the chore/v6-architecture-remove-view-model-concept branch April 9, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Chore [PRs only] Indicates any task that does not need to be mentioned in the public release notes size:tiny

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants