-
Notifications
You must be signed in to change notification settings - Fork 393
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
question: how to set optional @Param ? #335
Comments
Nope, just |
Ok thanks. |
I'm keen on this too. |
I'd also love to have this feature since express supports this kind of optional route parameters |
Well, @params aren't that bad. You can even pass a default value like this:
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
How i can set optionnal parameter with @param ?
Documentation say :
@Param(name: string, options?: ParamOptions)
But in fact, @param have only one argument :
export function Param(name: string): Function
Maybe i miss something ?
Thanks.
The text was updated successfully, but these errors were encountered: