Skip to content

feat(snapshot): run param GET routes with paths the app showed - #165

Merged
yusukebe merged 3 commits into
nextfrom
feat/snapshot-param-samples
Oct 11, 2026
Merged

yusukebe merged 3 commits into
nextfrom
feat/snapshot-param-samples

Conversation

@yusukebe

@yusukebe yusukebe commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

snapshot ran only paramless GET routes, so hono diff missed most routes of a bigger app: on a 45-route blog it compared 19. Now a param GET route runs too when the app already showed a path for it: a link in a page (href, src, <loc>, <link>) or a JSON field with the param's name. /posts/:slug becomes /posts/hello. The tool still invents no values; routes without a found path print as before. On that blog, 30 routes are compared now.

The measurement is in #158.

The author should do the following, if applicable

  • Add tests
  • Run tests
  • pnpm run format:fix && pnpm run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

@yusukebe
yusukebe merged commit 0a1b831 into next Oct 11, 2026
4 checks passed
@yusukebe
yusukebe deleted the feat/snapshot-param-samples branch October 11, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant