I have a multi module project, in which i have my ...
# compose
v
I have a multi module project, in which i have my data models in a separate module, which is not CMP module Hence compose compiler is not able to Infer the Stability • Is adding this module in my compose compiler configuration file a good solution ? Docs says that it will then mark all classes as Stable, which imo is forcefully marking them stable and not a good thing to do? • Other solution is to just make this module a CMP module and let compose compiler infer stability and manually fix any unstable param issue if exists while keeping
kotlin.collections
and
kotlinx.datetime
in the configuration file so they are stable What do y'all think?
c
Not sure (as I haven't had to use/investigate stability)... but I wonder if the upcoming changes here make your issue go away? https://medium.com/androiddevelopers/jetpack-compose-strong-skipping-mode-explained-cbdb2aa4b900
v
@Colton Idle i already have this enabled, The main issue is as my data models are in a different module which does not have compose compiler plugin enabled, the compiler cannot infer stability and marks all as unstable, hence all composables are unstable
👍 1