-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add @Ignore decorator to exclude from sdk #694
Conversation
I found a way to debug the issues. I'll try to resolve script errors – |
First, So, I changed the versions in
|
For the
However, it turned out nothing was actually wrong. I don't know why, but it seems something was broken at the first time I opened the project in WebStorm. The second project which I cloned in VSCode is working fine even after cherry-picking the commits. I'll overwrite with new commits after running the full test. Also, I'm sorry I might have bothered you last night. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://nestia.io/docs/sdk/swagger/#special-tags
At now, nestia does not export to swagger documents when @internal
comment being used. In the sdk side, the sdk will make the matched function for the @internal
type, but it would not be exported to the d.ts
file, so that user of the sdk cannot identify it.
If what you want is even not being analyzed in the analyzer side, it would better to using the @ignore
comment tag for the consistency. You can accomplish it by start editing from the below line.
Also, don't forget to adding a test program. You can add a new test program by running npm run generate ignore
command under the test
project, and test only the ignore
feature by executing the npm start -- --only ignore
command.
About the TS 5.3, I am waiting for this update, so that holding it for a while. The reason why force install is, there had been break change on compiler API side, so that I need to reflect it. |
474e753
to
1f0d5f0
Compare
yup, I wish it is not analyzed. This is because, some features which I opened this issue quite abruptly without any request or your permission in advance, but I think I can work on this issue as long as you are okay with it. Also, you may close this PR, since I might not get this done right away. I can reopen it when it's ready for your review. |
Got it, will develop a |
I was trying to add
@Ignore
decorator to exclude certain controllers and methods when using module include innestia.config.ts
.But I couldn't pass the test. It fails in
npm install --force
.Test Error Message
related issue