-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: Custom runtime api versioning + struct versioning #5415
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5415 +/- ##
======================================
Coverage 71% 72%
======================================
Files 488 490 +2
Lines 86360 86792 +432
Branches 86360 86792 +432
======================================
+ Hits 61718 62217 +499
+ Misses 21731 21640 -91
- Partials 2911 2935 +24 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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.
Looks good, thanks.
#[obake(version("0.1.0"))] | ||
#[obake(version("0.2.0"))] |
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.
We could align these versions with our own release versions? WDYT?
Otherwise we could use 1.0.0/2.0.0 etc. "0.1.0" seems a bit strange - like it's not 'complete'.
tbh. i'm not sure why it require a full semver-compatible version specifier. If it's not a breaking change (ie. patch version) then we wouldn't need a versioned struct?
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.
Looks good, thanks.
Pull Request
Closes: PRO-1793
Checklist
Please conduct a thorough self-review before opening the PR.
Summary
Replica of #5406 which was merged in 1.7, with the addition of using obake to create struct versioning.
This PR is here just to have an example in the codebase as a reference implementation.