Closed bellaabdelouahab closed 4 months ago
You can fork the tsoa repo. Make the necessary changes in your fork. Then in your terminal paste this command.
npm i user_name/repo_name
The modified version of the package will be installed. We can pull new changes from the original repo by syncing the fork then update the package using npm
npm update user_nme/repo_name
Wait ! I don't have to create a package or build it or what ? And are you saying to perform npm install from GitHub even though it is not registered in npm ? @muttaqin1
Wait ! I don't have to create a package or build it or what ? And are you saying to perform npm install from GitHub even though it is not registered in npm ? @muttaqin1
Yeah, this should work. Can you try this at once? Because npm lib's are hosted on GitHub.
You dont have to register it on npm. @bellaabdelouahab
okay i will test it
Any updates? @bellaabdelouahab
I found many approaches, but none of them worked. If you have any idea, then please suggest it; other than that, We will just leave it as an issue for an other time @muttaqin1
We can leave it for now. I will try to resolve this issue later. @bellaabdelouahab
@muttaqin1 found anything ?
@muttaqin1 found anything ?
No bro. I thought this will work. But as you have said that is not working now we can create a issue in tsoa github repo and wait or leave it as it is 😥😥😥
For now we leave the old approach @muttaqin1 I'll colse this as not planned
what do you think about this :
file --> backend-app\node_modules\@tsoa\cli\dist\cli.js
i have modified tsoa package to achive the aproach of multiple response with same status code :
it is working but the problem is that any one who installs the project he will need to modify the package ! what do you think ? can you find a better aproach ? or should we just keep it as it was
@muttaqin1