-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Feature Request: Partially parse the dependencies. #904
Comments
--parseDepth 3 |
Merely setting depth constraint can not solve the problem because the dependencies tree may be fat but shallow. |
@CNLHC can't agree more! |
说得太对了,只要注解里引用了外部公共包里的类型定义就解析半天,就算是指定parseDepth也无济于事,经常解析20分钟以上。 |
Is there a temporary solution? |
Does anyone work on this? This is a useful feature. |
I've submitted a PR to fix the issue. If you guys are interested, you can check out the corresponding branch. |
I found that when using the
--parseDependency
flag, parsing would become very slow in large project.I believe somebody else is suffering from the same problem, like #515 .
Maybe it is possible to refer the
go test
command. If i want to test a single case, i can just fireSo to the
swag
tool, a flag likeinclude
will be helpful. For example, the command below will only parse thegithub.aaakk.us.kg/lib/pq
module instead of scanning all of the dependencies.Do you think adding a filter mechanism to this feature is a good idea?
The text was updated successfully, but these errors were encountered: