Skip to content
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

Crash when attempting to restore a page route that had it's pageData type changed from nullable to non-nullable #28

Open
Moncader opened this issue Dec 10, 2024 · 0 comments · May be fixed by #30

Comments

@Moncader
Copy link
Contributor

Description

When StandardPage page data's type changes from nullable to non-nullable and null data is trying to be restored on route load, a type error occurs and the route fails to load.

Reproduction Steps

  • Create a StandardPage that has some kind of nullable (including void) pageData type
  • Load that page once to get it in to the restoration cache.
  • Change the type of that StandardPage to something that is non-nullable
  • Load that page again and observe the crash.

Environment

  • All
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant