-
Notifications
You must be signed in to change notification settings - Fork 45
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
Split ModelV2 codegen in multiple submodules (part 2) #7269
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #7269 +/- ##
=============================================
+ Coverage 28.44% 87.49% +59.04%
=============================================
Files 1155 31 -1124
Lines 140091 1535 -138556
Branches 2845 0 -2845
=============================================
- Hits 39849 1343 -38506
+ Misses 98592 192 -98400
+ Partials 1650 0 -1650
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2c46869
to
b3e66c8
Compare
Renames: - Indentifier => RawIdentifier - TypedIdentifier => Identifier - Restore former identifier field names in ModelConfig
71f496b
to
193b7d3
Compare
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.
I parsed through the code, seems like a good refacto seen from a newbie. I'd say if all of our test suite is working, it's probably fine 🚀
Defines for each generated code block (struct definition, impl block, trait implementation) a struct
implementing
ToTokens
to isolate (almost) all quoting intomodelv2::codegen
.A little refactoring of
Identifiers
was necessary to make the-Impl
struct API convenient.Tip
This PR can be reviewed commit by commit.