Skip to content

Gen consumer template accessors - #4

Merged
alesr merged 2 commits into
mainfrom
dev
Mar 4, 2026
Merged

Gen consumer template accessors#4
alesr merged 2 commits into
mainfrom
dev

Conversation

@alesr

@alesr alesr commented Mar 4, 2026

Copy link
Copy Markdown
Owner

Refactored the code generator so it creates helper methods in the consuming app (instead of inside templator).

Updated the README so examples reflect the current API and generator workflow.
Did this to simplify setup: users no longer need extra wrapping around generated methods.

@alesr alesr self-assigned this Mar 4, 2026
@codecov

codecov Bot commented Mar 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.50000% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.32%. Comparing base (5eac38e) to head (c18cd71).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
cmd/generate/generate_methods.go 62.50% 21 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
- Coverage   84.53%   82.32%   -2.21%     
==========================================
  Files           4        4              
  Lines         181      215      +34     
==========================================
+ Hits          153      177      +24     
- Misses         16       25       +9     
- Partials       12       13       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alesr
alesr merged commit b46c607 into main Mar 4, 2026
3 of 5 checks passed
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.

1 participant