I am trying to wrap my head around MVVM and "models should not have behaviour". If my getter depends on an environment variable,
- should it be in the model or viewmodel?
- Does it make a difference if that getter is specific to one viewmodel vs many?
Also, I have complex setters that might have side-effects and logic. Does that automatically mean they belong into a viewmodel?
Updated: Some sources on this:
Based on these I'm looking for some guidance for how to separate logic between model and viewmodel.