csells / go_router

The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
https://gorouter.dev
442 stars 96 forks source link

Assertion fails when errorPageBuilder is used #91

Closed ebati closed 2 years ago

ebati commented 2 years ago

I expect errorPageBuilder should be called after no route is found for a location but assertion here fails after Exception: no routes for location: /asd is printed on debug logs. I think this line causes the issue, here path is set but fullpath is empty.

csells commented 2 years ago

fixed in v2.1.2. @ebati can you please verify?

ebati commented 2 years ago

Changes fix my issue. Thank you very much for fast fix and the new version 😃