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

[Jetcaster] Refactor: create domain models #1289

Merged
merged 8 commits into from
Mar 21, 2024

Conversation

arriolac
Copy link
Contributor

@arriolac arriolac commented Mar 20, 2024

Added the following domain layer objects and corresponding test cases:

  • GetLatestFollowedEpisodesUseCase
  • PodcastCategoryFilterUseCase
  • FilterableCategoriesUseCase

This also required creating interfaces for repository objects to enable creating fakes for testing. Introducing these changes improves readability/maintainability of HomeViewModel and encourages splitting up responsibilities to smaller easily testable contained [domain] objects.

@arriolac arriolac requested a review from a team as a code owner March 20, 2024 21:06
@arriolac arriolac requested review from florina-muntenescu and bentrengrove and removed request for florina-muntenescu March 20, 2024 21:06
Copy link
Contributor

@mlykotom mlykotom left a comment

Choose a reason for hiding this comment

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

Chiming in as I was around and this was interesting 😊

@arriolac
Copy link
Contributor Author

Thanks for your review @mlykotom ! Feedback addressed in 92c1b86

Copy link
Contributor

@mlykotom mlykotom left a comment

Choose a reason for hiding this comment

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

There are some comments left, but in general LGTM

arriolac and others added 2 commits March 21, 2024 13:06
…over/Discover.kt

Co-authored-by: Tomáš Mlynarič <mlykotom@google.com>
@arriolac arriolac force-pushed the chris/jetcaster/domain_model branch from 1a73e92 to eae0554 Compare March 21, 2024 20:20
@arriolac arriolac merged commit ccdb03d into jetcaster/all_form_factors Mar 21, 2024
3 checks passed
@arriolac arriolac deleted the chris/jetcaster/domain_model branch March 21, 2024 20:32
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.

None yet

3 participants