Skip to content

docs: move querystringParser option under routerOptions#6463

Merged
mcollina merged 1 commit intofastify:mainfrom
inyourtime:docs-query-string-parser
Jan 25, 2026
Merged

docs: move querystringParser option under routerOptions#6463
mcollina merged 1 commit intofastify:mainfrom
inyourtime:docs-query-string-parser

Conversation

@inyourtime
Copy link
Copy Markdown
Contributor

@inyourtime inyourtime commented Jan 23, 2026

querystringParser has been moved under routerOptions. Using it at the top-level Fastify options is now deprecated and will emit a warning.

Checklist

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 23, 2026
@inyourtime inyourtime changed the title docs: move querystringParser example under routerOptions docs: move querystringParser option under routerOptions Jan 23, 2026
Copy link
Copy Markdown
Member

@jean-michelet jean-michelet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, but both are valid:

options.routerOptions?.querystringParser &&

I wonder if we should only keep the one in routerOptions and deprecate the other.

@gurgunday
Copy link
Copy Markdown
Member

I think yes

@mcollina mcollina merged commit f4a6ac1 into fastify:main Jan 25, 2026
8 checks passed
@inyourtime inyourtime deleted the docs-query-string-parser branch January 26, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants