flipper icon indicating copy to clipboard operation
flipper copied to clipboard

Imrove the way Feature is created.

Open Jeevuz opened this issue 3 years ago • 0 comments

I think the usability of the library can be improved if you change

abstract class Feature {
    abstract val id: String
}

to

abstract class FeatureNew(internal val id: String)

So the users will be able to add features like this

object New : FeatureNew("Экран")

instead of this

object Old : Feature() {
    override val id: String = "Экран кэшбека. Отображать персональные предложения"
}

Jeevuz avatar Dec 29 '21 17:12 Jeevuz