Skip to content

feat(common,core,fastify): add http query method decorator - #17397

Open
LeoneHerbert wants to merge 1 commit into
nestjs:masterfrom
LeoneHerbert:feat/querystring-and-http-query
Open

feat(common,core,fastify): add http query method decorator#17397
LeoneHerbert wants to merge 1 commit into
nestjs:masterfrom
LeoneHerbert:feat/querystring-and-http-query

Conversation

@LeoneHerbert

@LeoneHerbert LeoneHerbert commented Jul 30, 2026

Copy link
Copy Markdown

Rename the query-string parameter decorator from @query to @querystring and introduce @query as the HTTP QUERY route decorator. BREAKING CHANGE: @query() no longer extracts URL query parameters. Use @querystring() instead. @query() now registers HTTP QUERY routes; read the request body with @Body().

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Rename the query-string parameter decorator from @query to
@querystring and introduce @query as the HTTP QUERY route decorator.
BREAKING CHANGE: @query() no longer extracts URL query parameters.
Use @querystring() instead. @query() now registers HTTP QUERY routes;
read the request body with @Body().
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 0

Coverage increased (+0.002%) to 90.308%

Details

  • Coverage increased (+0.002%) from the base build.
  • Patch coverage: 3 of 3 lines across 3 files are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 8667
Covered Lines: 7827
Line Coverage: 90.31%
Relevant Branches: 2955
Covered Branches: 2412
Branch Coverage: 81.62%
Branches in Coverage %: No
Coverage Strength: 56.74 hits per line

💛 - Coveralls

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.

2 participants