-
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 1) #7254
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #7254 +/- ##
============================================
+ Coverage 28.35% 28.44% +0.08%
Complexity 2299 2299
============================================
Files 1147 1155 +8
Lines 139928 140097 +169
Branches 2845 2845
============================================
+ Hits 39678 39846 +168
- Misses 98600 98601 +1
Partials 1650 1650
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
01dcc35
to
6c351a0
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.
That is some serious clean up 🧹 and reorganisation 📂 Nice for those who will maintain it later.
- ModelImpl: `impl Model for M` - RowDecl: `struct MRow` - ChangesetDecl: `struct MChangeset`
6c351a0
to
0f13129
Compare
Defines for each generated code block (struct definition, impl block, trait implementation) a struct
implementing
ToTokens
to isolate (almost) all quoting intomodelv2::codegen
.This PR contains this refactoring for all blocks except the DB access ModelV2 traits implementations.
These will come in another PR.
Tip
This PR can be reviewed commit by commit.