Add configurable exceptions for ViewModelForwarding rule
Closed this issue · 0 comments
mrmans0n commented
There might be valid patterns where you want to forward a VM-like class. Usually this could be worked around by using an optional param with viewModel()
as a default value and not passing the VM from stateful-parent to stateful-child directly. However, this only works if there is a way to acquire the VMs via a factory, which might not be the case (cough cough Compose multiplatform).
We should allow the allowlisting of Composables that match some given regexes.