https://kotlinlang.org logo
#orbit-mvi
Title
# orbit-mvi
k

kenkyee

11/12/2021, 12:37 PM
Is it possible to add time travel to Orbit? Was looking at the issue tracker and wondering how it can be done without formal classes for intents to save all the parameters... Noticed Mavericks also doesn't have this and it's a similar MVVM+ MVI architecture instead of a more formal MVI one with the extra boilerplate...
m

Mikolaj Leszczynski

11/12/2021, 12:41 PM
I’m sure it’s possible, we just haven’t got round to it 😉
🙏 1
our best bet is a kotlin compiler plugin for the intent inputs
the outputs probably don’t need a plugin
k

kenkyee

11/12/2021, 12:44 PM
Hmm...so KSP plugin to look for orbit intents and then go up to grab the parameters for the method and create an intent class on the fly?🤔
m

Mikolaj Leszczynski

11/12/2021, 12:46 PM
yeah exactly, just a bit of code that we can use to capture and log params.
👍 2
otherwise leaving the program unaffected
3 Views