Uh oh!
There was an error while loading. Please reload this page.
Add WebhookTypes and EventForType methods - #2865
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
gmlewis
left a comment
There was a problem hiding this comment.
Could you please also add tests for requesting a nil event, an unknown event, and any other place where we pass in garbage to make sure it behaves properly in all cases?
evankanderson
commented
Aug 10, 2023
I switched to a bit of judicious reflection for the struct copy and pre-computation for the rest of the mappings, and now this is a nicely negative total lines of code PR. 😁 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #2865 +/- ##
==========================================
- Coverage 98.07% 98.05% -0.02%
==========================================
Files 139 139 Lines 12357 12253 -104 ==========================================
- Hits 12119 12015 -104
Misses 162 162 Partials 76 76
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @evankanderson !
A few more tweaks, please, then I think we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
evankanderson
commented
Aug 15, 2023
Ready for another look / another reviewer, I think. |
Uh oh!
There was an error while loading. Please reload this page.
evankanderson
commented
Aug 15, 2023
Do you want me to flatten my commits? |
gmlewis
commented
Aug 15, 2023
No need to flatten any commits, as we always "squash and merge" in this repo. Thank you, though. |
gmlewis
left a comment
There was a problem hiding this comment.
@evankanderson - this looks great to me!
Thank you for your patience and your willingness to experiment with this one.
I think this looks super clean and will help with reducing not only the maintenance burden of this repo, but also make it much easier for contributors to add new event types as GitHub keeps cranking them out. 😁
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
gmlewis
commented
Aug 15, 2023
@googlebot - why have you been silent on this PR? What happened to your automated CLA checks?!? |
gmlewis
commented
Aug 15, 2023
Ah, is @googlebot dead and been replaced by @google-cla instead? |
gmlewis
commented
Aug 15, 2023
@google-ospo-team - can you please investigate why this PR was never checked by the @google-cla bot? |
gmlewis
commented
Aug 15, 2023
CLA has been cleared. Thank you, @google-ospo-team ! Now awaiting second LGTM+Approval from any other contributor to this repo before merging. |
gmlewis
commented
Aug 16, 2023
@Parker77 - do you have time for a code review, please? |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Parker77 <20973702+Parker77@users.noreply.github.com>
gmlewis
commented
Aug 16, 2023
Thank you, @Parker77 ! |
Fixes#2863