The router in v7 used to allow the following when doing a redirect from within an async route:
async({ resolve }) {
resolve({ url: '/abc/' });
}
It is also in documentation:
resolve
method of route callback has the following format:resolve(parameters, options)
- parameters object - object with resolved route content. Must contain one of
url
,content
,component
orcomponentUrl
properties- options object - object with Route Options
Now it does not work and one has to do the following:
async({ router, reject }) {
reject();
router.navigate('/abc/');
}
Just want to know if this is by design?