Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nestjs 11 route syntax #521

Closed
dcharbonnier opened this issue Jan 31, 2025 · 2 comments · Fixed by #526
Closed

nestjs 11 route syntax #521

dcharbonnier opened this issue Jan 31, 2025 · 2 comments · Fixed by #526
Labels
bug Something isn't working

Comments

@dcharbonnier
Copy link

The routes syntax for nestjs 11 has changed due to express 5 due to path-to-regexp 8.


this should be now *path but this will only work if the adapter is express.

See pillarjs/path-to-regexp#344 (reply in thread)

@dcharbonnier dcharbonnier changed the title nestjs 11 nestjs 11 route syntax Jan 31, 2025
@pragmaticivan
Copy link
Owner

Waiting for some answers in discord, but not sure if there's a way to detect the version of nestjs programmatically right now as I could not find any exported info from the packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants