-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
chore(core): allow dynamic value for header value #13027
chore(core): allow dynamic value for header value #13027
Conversation
Pull Request Test Coverage Report for Build 7c9477ff-a808-444d-84b1-9d6b0d470d13
💛 - Coveralls |
I guess we should clarify in the docs for this feature when exactly the function will be invoked |
We'd need to update this decorator signature too https://github.com/nestjs/nest/blob/master/packages/common/decorators/http/header.decorator.ts#L17 |
Updated. Thanks @kamilmysliwiec |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
closes #13012
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information