Skip to content

Conversation

@ChrisPulman
Copy link
Member

Changed Routing state to provide the nullable ViewModel upon navigating or Null if the stack is empty
closes #2743

What kind of change does this PR introduce?

feature

What is the current behaviour?

NavigateBack returns a Unit

What is the new behaviour?

NavigateBack returns a nullable IRoutableViewModel

What might this PR break?

may produce compile errors if there is currently a usage of the NavigateBack provided Unit

Please check if the PR fulfils these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

Changed Routing state to provide the nullable ViewModel upon navigating or Null if the stack is empty
closes #2743
@codecov
Copy link

codecov bot commented May 17, 2021

Codecov Report

Merging #2761 (518665b) into main (dd7a486) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2761   +/-   ##
=======================================
  Coverage   62.49%   62.49%           
=======================================
  Files         133      133           
  Lines        4709     4709           
=======================================
  Hits         2943     2943           
  Misses       1766     1766           
Impacted Files Coverage Δ
src/ReactiveUI/Routing/RoutingState.cs 94.33% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd7a486...518665b. Read the comment docs.

@glennawatson glennawatson merged commit 5fd2188 into main May 17, 2021
@glennawatson glennawatson deleted the FeatureRoutingStateNavigateBackResultTypeToIRoutableViewModel branch May 17, 2021 10:16
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changing RoutingState.NavigateBack Result type to IRoutableViewModel.

3 participants