You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(vue): Don't call next in Vue router 4 instrumentation (#8351)
Vue Router 4 no longer exposes a `next` resolver function to call inside a `beforeEach` [router guard callback](https://router.vuejs.org/guide/advanced/navigation-guards.html#global-before-guards).
Instead it will resolve the hook when the callback function returns.
This PR checks if `next` is available and only calls it then. Also it
adjusts the types accordingly and adds a test that previously failed.
fixes#8349
0 commit comments