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(compiler): track templates in compileInline so CLI validate command works for nested #1067

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

ecrupper
Copy link
Contributor

This validation fails for replaced nested templates without keeping track of what has been called. Generally good for visibility too I'd say, and it's what we do for normal compilations.

@ecrupper ecrupper requested a review from a team as a code owner February 22, 2024 22:27
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.54%. Comparing base (4a5ce4a) to head (357fbf7).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1067      +/-   ##
==========================================
+ Coverage   62.44%   62.54%   +0.09%     
==========================================
  Files         345      345              
  Lines       10254    10254              
==========================================
+ Hits         6403     6413      +10     
+ Misses       3377     3364      -13     
- Partials      474      477       +3     
Files Coverage Δ
compiler/native/compile.go 69.23% <100.00%> (+3.84%) ⬆️

Copy link
Contributor

@KellyMerrick KellyMerrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ecrupper ecrupper merged commit ba609c1 into main Feb 23, 2024
11 of 13 checks passed
@ecrupper ecrupper deleted the fix/track-templates-inline branch February 23, 2024 16:11
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