0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

fix(router-core): build a location's mask in the scope of its destination

A module-scoped mask on an application destination (`settings.linkOptions`
as the `mask` of an application `Link`) type-checks but was resolved as an
application path. It is now rejected in development like a mask from another
module on a module destination, through the same scope resolution, which no
longer allocates an options copy for the check.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Manuel Schiller 2026-11-07 20:04:52 +01:00
commit 0caab449ba
3 changed files with 74 additions and 22 deletions