Skip to content

test: replace removed request properties and update docs#6111

Merged
Eomm merged 3 commits intofastify:mainfrom
inyourtime:fix-removed-properties
May 11, 2025
Merged

test: replace removed request properties and update docs#6111
Eomm merged 3 commits intofastify:mainfrom
inyourtime:fix-removed-properties

Conversation

@inyourtime
Copy link
Copy Markdown
Contributor

@inyourtime inyourtime commented May 6, 2025

  • replaces usage of the removed req.routerPath with the updated req.routeOptions.url in inject.test.js
  • updates the note in the documentation to reflect the change from request.routerPath, routerMethod, and context.config to request.routeOptions.url, routeOptions.method, and routeOptions.config within the custom "not found" handler.

Checklist

@github-actions github-actions bot added the documentation Improvements or additions to documentation label May 6, 2025
@Eomm Eomm merged commit 51933de into fastify:main May 11, 2025
27 checks passed
@inyourtime inyourtime deleted the fix-removed-properties branch May 11, 2025 07:06
jean-michelet pushed a commit to jean-michelet/fastify that referenced this pull request May 13, 2025
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants