Skip to content

fix: resolve static route ID unions - #17025

Draft
teemingc wants to merge 1 commit into
teemingc-reproduce-routeid-resolvefrom
teemingc-fix-routeid-resolve
Draft

fix: resolve static route ID unions#17025
teemingc wants to merge 1 commit into
teemingc-reproduce-routeid-resolvefrom
teemingc-fix-routeid-resolve

Conversation

@teemingc

@teemingc teemingc commented Sep 3, 2026

Copy link
Copy Markdown
Member

closes #

Stacked on #17024, which contains the regression test. Keeps static route-ID unions as a single resolve argument tuple while preserving correlated params for mixed unions.


Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the targeted write-types tests and lint the project with pnpm lint and pnpm check

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Sep 3, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 4781c5b:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/4781c5b0b3bf83e92929f838f84dc9416987f566

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/17025

@changeset-bot

changeset-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4781c5b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@teemingc
teemingc force-pushed the teemingc-fix-routeid-resolve branch from 1af6fc8 to 4781c5b Compare September 3, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant