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

Multer #150

Open
giladsch opened this issue Nov 15, 2020 · 1 comment
Open

Multer #150

giladsch opened this issue Nov 15, 2020 · 1 comment

Comments

@giladsch
Copy link

giladsch commented Nov 15, 2020

How to i use multer with the library?
I use multer for uploading files.
In my code I have export upload Array = multer({}).array('files').
And it is kind of Middleware that accept the request and the response but I don't have them so I can I get them or have some workaround?
So if some one use this library with multer I would like to know how.

@donaldpittard
Copy link

Checkout the @FileParam decorator for your request parameters: https://github.com/thiagobustamante/typescript-rest/wiki/Request-Parameters

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

No branches or pull requests

2 participants