Pass data to an @Observable model

Overview

  • I have a navigation split view.
  • The detail view contains a model now this model depends on id from the parent view.

Questions

  1. How can I pass data from the parent view and yet create the view in the detail view?
  2. Or should I be pass the model from the parent view, but the problem is the parent view needs to persist model.
  3. Or is there a better approach?
Pass data to an @Observable model
 
 
Q