[configoptional] Allow wrapping scalar values#15175
Conversation
521f5fd to
495f28d
Compare
|
Leaving in draft while I resolve a bunch of rebase issues and prepare follow-up PRs to show this in use. |
jade-guiton-dd
left a comment
There was a problem hiding this comment.
Some first reactions
Merging this PR will not alter performance
|
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (87.20%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #15175 +/- ##
==========================================
- Coverage 91.23% 91.19% -0.04%
==========================================
Files 703 705 +2
Lines 45902 45998 +96
==========================================
+ Hits 41878 41950 +72
- Misses 2820 2837 +17
- Partials 1204 1211 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mx-psi
left a comment
There was a problem hiding this comment.
This looks reasonable to me and I think we have enough leeway to modify things that I feel comfortable moving forward with it now
|
I looked this over again and I think it's ready for a review now. |
jade-guiton-dd
left a comment
There was a problem hiding this comment.
The approach seems good overall
Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
433357b to
f58565d
Compare
f58565d to
1faf1b6
Compare
jade-guiton-dd
left a comment
There was a problem hiding this comment.
Almost good, mostly just nits, just one concern about the behavior of scalarValue.Marshal(nil)
Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
05b8d8a to
ca2cb4c
Compare
|
Thank you! And really appreciate your careful reviews, your points led to a lot of meaningful improvements. |
ca2cb4c to
2048001
Compare
mx-psi
left a comment
There was a problem hiding this comment.
Re-approving after reading the convo above, thanks Jade for the careful review ❤️
Description
Allow
configoptional.Optionalto wrap scalar values using new interfaces designed specifically to handle similar wrappers around scalar values.Follow up to #13524.