lukeautry / tsoa

Build OpenAPI-compliant REST APIs using TypeScript and Node
MIT License
3.42k stars 489 forks source link

feat: added ability to pass multerInstance into RegisterRoutes #1539

Closed lalchan closed 5 months ago

lalchan commented 7 months ago

All Submissions:

If this is a new feature submission:

Put closes #XXXX (where XXXX is the issue number) in your comment to auto-close the issue that your PR fixes.

If this is a new feature submission:

Potential Problems With The Approach

Test plan

lalchan commented 7 months ago

I apologize, I wanted to add new commits to the old PR, and thought creating a new PR would add new commits to the old PR, Closing this PR as creating a new PR is not the intention

lalchan commented 7 months ago

Reopening this PR as I cannot figure out how to add my new commits to the old PR, sorry for being so incompetent

jackey8616 commented 7 months ago

@WoH Are you planning to deprecate multerOptions in this PR?

WoH commented 7 months ago

@jackey8616 yeah eventually, but non-breaking would be appreciated by everyone else I think

jackey8616 commented 7 months ago

@jackey8616 yeah eventually, but non-breaking would be appreciated by everyone else I think

IMO, this PR can focus on - how to support multer instance then after this, I may come out with a solution that deprecates multerOptions without breaking anything also maybe migrate this part of code into TemplateService which #1545 introduced.

github-actions[bot] commented 5 months ago

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days