Apparently, for the compiler to infer the right stability, you
must have the compose compiler applied on that module, there’s no way around it, not even properly annotating those models with @Immutable or @Stable if you went ahead and did that.
Read here
https://kotlinlang.slack.com/archives/CJLTWPH7S/p1687872613238189?thread_ts=1687450253.790669&cid=CJLTWPH7S for some information.
So either you do that, or you need yet another set of models which live only inside the module which does have the compose compiler applied, and you need to do one more mapping from the models you receive from that pure module as you say.