We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm submitting a ...
I confirm that I
Should get a validation error response for required file/files
No validation is performed when the file(s) is not provided.
In expressTemplateService.ts do not immediately return undefined when the parameter is not found - like this code
if (requestFiles[name] === undefined) { return undefined; }
Define the controller method as
@Post('File') public async postWithFile(@UploadedFile('someFile') aFile: File): Promise<File> { return aFile; }
Version of the library: 6.6.0 Version of NodeJS: v18.19.0
Will provide a pull request shortly with the actual changes.
The text was updated successfully, but these errors were encountered:
Hello there kchobantonov 👋
Thank you for opening your very first issue in this project.
We will try to get back to you as soon as we can.👀
Sorry, something went wrong.
fixed by #1739
Successfully merging a pull request may close this issue.
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
Should get a validation error response for required file/files
Current Behavior
No validation is performed when the file(s) is not provided.
Possible Solution
In expressTemplateService.ts do not immediately return undefined when the parameter is not found - like this code
Steps to Reproduce
Define the controller method as
Context (Environment)
Version of the library: 6.6.0
Version of NodeJS: v18.19.0
Detailed Description
Will provide a pull request shortly with the actual changes.
Breaking change?
The text was updated successfully, but these errors were encountered: