Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #409 +/- ##
==========================================
- Coverage 98.40% 98.29% -0.12%
==========================================
Files 22 22
Lines 1507 1524 +17
==========================================
+ Hits 1483 1498 +15
- Misses 15 17 +2
Partials 9 9 ☔ View full report in Codecov by Sentry. |
|
Hey @asmeikal - thanks for working with us to get this to this state! One thing I think warrants discussion: Giving access to the actual So, my initial thoughts are that this is probably fine, as long as we aggressively plaster clear documentation that modifying these values results in undefined behavior, but I'd like to hear your thoughts & thoughts of other maintainers @tchung1118 @sywhang. |
|
I agree with @JacobOaks that this is probably fine, but we should clearly document that those values in |
callback.go
Outdated
| Error error | ||
|
|
||
| // Values contains all values constructed by the [Callback]'s | ||
| // associated function. |
There was a problem hiding this comment.
Given the discussion, let's add some explicit documentation here that mentions the undefined results of modifying these values.
Co-authored-by: Jacob Oaks <jacoboaks.8@gmail.com>
|
Hey there, the maintainers of Dig discussed this at some length and decided to open up a discussion to describe our concerns and solicit more thoughts: #410 |
|
Michelle Laurenti seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
This is our current implementation for #408. It adds a container Option to intercept values as they are constructed, to apply additional startup logic.
The naming could certainly be improved!