-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Decouple topotools from vschema #16008
Conversation
This removes the coupling between vschema and topotools just for a single helper function. With this change, we don't end up pulling a large dependency tree for other utilities like schemadiff. See also https://go-proverbs.github.io, "A little copying is better than a little dependency.". Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16008 +/- ##
=======================================
Coverage 68.27% 68.27%
=======================================
Files 1562 1562
Lines 197316 197319 +3
=======================================
+ Hits 134708 134719 +11
+ Misses 62608 62600 -8 ☔ View full report in Codecov by Sentry. |
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.
Thank you
This removes the coupling between vschema and topotools just for a single helper function.
With this change, we don't end up pulling a large dependency tree for other utilities like schemadiff.
See also https://go-proverbs.github.io, "A little copying is better than a little dependency.".
Also see planetscale/schemadiff#22 (comment)
Related Issue(s)
Part of #14717
Checklist