-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Add NavigateForResult #52
Comments
Hey @vjlomocso 👋, Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider backing us. https://opencollective.com/reactiveui
|
Hey @vjlomocso 👋, Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider backing us. https://opencollective.com/reactiveui
|
Sextant is where our navigation is going in the future. Thanks for the suggestion |
I want to have a reusable viewmodel that can emit results back to the calling viewmodel.
If we can get something like a
NavigateForResult
with a generic type then that would be neat. Interactions are great but I believe they are best for very simple dialogs and simple results. What about a complex object? What if it's prompted as a popup, but as a full page? Yes we can subscribe to events from the ViewModel before passing it through toNavigate.Execute()
but that just returns aIRoutableViewModel
object and will make the pipeline less neat :DWe can do it by making a generic
IRoutableViewModel<TResult>
so the routing commands can listen to it's result.The text was updated successfully, but these errors were encountered: