Skip to content
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

Remove duplicate UpsertSubscriptionsDto entities and builders #2212

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

iamacook
Copy link
Member

Summary

We have a TODO to move UpsertSubscriptionsDto from the datasource to domain layer. After looking into this, we also have three of the same entity.

This removes duplicate entities and centralises the associated schema and builder for UpsertSubscriptionsDto: business logic on the domain layer and implemented entity on the route.

Note: the builder has been left on the route layer as it is predominantly used there.

Changes

  • Move schema and inferred type from datasource to domain layer
  • Have route entity implement domain type
  • Update imports accordingly

@iamacook iamacook self-assigned this Dec 19, 2024
@iamacook iamacook requested a review from a team as a code owner December 19, 2024 07:17
@iamacook iamacook enabled auto-merge (squash) December 19, 2024 15:49
@iamacook iamacook merged commit 6fa5b86 into main Dec 20, 2024
20 checks passed
@iamacook iamacook deleted the upsert-sub-todo branch December 20, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants