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

Fix: TypeWalker aborting on TypeNames from external packages #1599

Merged
merged 3 commits into from
Jun 26, 2021

Conversation

theunrepentantgeek
Copy link
Member

What this PR does / why we need it:

We use TypeName references to external types, but the TypeWalker was aborting when it encountered them. Fix is to stop walking when a non-local package is found.

How does this PR make you feel:
gif

@codecov-commenter
Copy link

codecov-commenter commented Jun 24, 2021

Codecov Report

Merging #1599 (f549305) into master (f40b9a7) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1599      +/-   ##
==========================================
- Coverage   63.27%   63.26%   -0.02%     
==========================================
  Files         184      184              
  Lines       11924    11926       +2     
==========================================
  Hits         7545     7545              
- Misses       3706     3707       +1     
- Partials      673      674       +1     
Impacted Files Coverage Δ
hack/generator/pkg/astmodel/type_walker.go 67.53% <0.00%> (-1.81%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f40b9a7...f549305. Read the comment docs.

@theunrepentantgeek
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@theunrepentantgeek theunrepentantgeek merged commit 9f78d9e into master Jun 26, 2021
@theunrepentantgeek theunrepentantgeek deleted the improve/type-walker branch June 26, 2021 01:43
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

Successfully merging this pull request may close these issues.

4 participants