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

Rename FragmentStoreBuilder to FeaturesBuilder. #381

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

Laimiux
Copy link
Collaborator

@Laimiux Laimiux commented Sep 4, 2024

What

  • Rename FragmentStoreBuilder to FeaturesBuilder
  • Make FeaturesBuilder.build non-internal. This allows us to build Features list outside of FragmentFlowStore
  • Rename contracts parameters to fragmentStore

@Laimiux Laimiux requested a review from Jawnnypoo September 4, 2024 16:07
@carrotkite
Copy link

carrotkite commented Sep 4, 2024

1 Warning
⚠️ No coverage data found for com/instacart/formula/android/FeatureFactory

JaCoCo Code Coverage 89.67% ✅

Class Covered Meta Status
com/instacart/formula/android/ActivityStoreContext 100% 0%
com/instacart/formula/android/FragmentFlowStore 100% 0%
com/instacart/formula/android/Feature 100% 0%
com/instacart/formula/android/FeatureFactory No coverage data found : -% No coverage data found : -% 🃏
com/instacart/formula/android/ActivityStore 100% 0%
com/instacart/formula/android/internal/ActivityManager 64% 0%
com/instacart/formula/android/internal/Features 100% 0%
com/instacart/formula/android/internal/FeatureBinding 100% 0%

Generated by 🚫 Danger

@Laimiux Laimiux force-pushed the laimonas/features-builder branch from 49b6596 to db3b8f0 Compare September 4, 2024 16:14
@Laimiux Laimiux force-pushed the laimonas/features-builder branch from db3b8f0 to 1013f03 Compare September 4, 2024 16:19
@@ -29,7 +30,7 @@ class FragmentAndroidEventTest {
configureActivity = {
initialContract = TestLifecycleKey()
},
contracts = {
fragmentStore = FragmentFlowStore.init {
Copy link
Member

Choose a reason for hiding this comment

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

Should we consider a rename from FragmentFlowStore to maybe just FragmentStore as well? When I see Flow, I always just think Coroutine Flow so it can be a little jarring to realize that its not that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agreed, will do in a follow up.

@Laimiux Laimiux force-pushed the laimonas/features-builder branch from c122314 to ecf62dd Compare September 4, 2024 17:50
@Laimiux Laimiux merged commit fc65f7f into master Sep 4, 2024
4 checks passed
@Laimiux Laimiux deleted the laimonas/features-builder branch September 4, 2024 17:57
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.

3 participants