refactor!: Change GitService methods to pass required params by-value instead of by-ref#3654
Conversation
|
Please follow step 4 in CONTRIBUTING.md and push the changes to this PR. |
d124f0e to
826440e
Compare
|
done ✔️ @gmlewis |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3654 +/- ##
==========================================
- Coverage 91.25% 91.20% -0.05%
==========================================
Files 185 185
Lines 16378 16360 -18
==========================================
- Hits 14945 14921 -24
- Misses 1249 1254 +5
- Partials 184 185 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
64a09b4 to
d813b23
Compare
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @rupokghosh!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
|
Please extend the PR header to mention that only |
GitService endpoints to pass required params by-value instead of by-ref
|
@alexandear - how's that? |
GitService endpoints to pass required params by-value instead of by-refGitService methods to pass required params by-value instead of by-ref
|
Whups, I think "methods" is better than "endpoints", agreed? |
d813b23 to
939e78a
Compare
update exmaples change to using values refactor(git)!: improve CreateRef API with value types and exported struct format new updateref struct remove backwards compatibility create tag in git tags slfhg
939e78a to
92a65bb
Compare
|
let me know if we can merge this in now! |
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @rupokghosh and @alexandear!
LGTM.
Merging.
BREAKING CHANGE:
GitServicemethods now pass required params by-value instead of by-ref.What problem are you solving?
Notes
This is most likely going to be a multi PR issue, since this is my first time working on this codebase. I started by picking a "service" area ( Git ) and converted each function that I thought met the criteria set in the issue mentioned, which are: