Closed Laimiux closed 2 months ago
Class | Covered | Meta | Status |
---|---|---|---|
com/instacart/formula/android/FeatureFactory |
100% | 0% | :white_check_mark: |
com/instacart/formula/android/internal/MappedFeatureFactory |
100% | 0% | :white_check_mark: |
Generated by :no_entry_sign: Danger
What
I'm wrapping the
dependencies
andkey
into aParams
object and updatingFeatureFactory.initialize
to get it via the extension function receiver typeParams.initialize(): Feature
.Feature factory initialization changes from
to
Why
We need to pass
FragmentId
or something equivalent to theFeatureFactory
. This change requires us to introduce a new parameter that would break existing usages. Instead of just adding a new parameter, I'm refactoring the way this public API works which will enable us to modifyParams
object in the future without breaking the usages.