Open Bug 1989384 Opened 2 months ago

Lift the Store definition to be an interface instead of a class

Categories

(Firefox for Android :: General, enhancement)

All
Android
enhancement

Tracking

()

People

(Reporter: matt-tighe, Unassigned)

References

(Blocks 1 open bug)

Details

We should convert the Store type to be an interface instead of a class. This will empower downstream benefits like:

  1. Subtypes are more likely to be defined as type aliases instead of subclasses, avoiding footguns with custom constructors and construction side-effects like InitActions
  2. Allowing us more freedom in changing the underlying Store implementation - potentially create side-by-side concrete types for experimentation with alternatives.

This may require updating some existing Stores to avoid the footguns mentioned above first.

You need to log in before you can comment on or make changes to this bug.