I have a parent view with viewModel and a child view with a dependency.
struct ContentView: View { @ObservedObject var viewModel = MyViewModel() var