Commit fdeba11
ref(browser): Use
Applies the same `safeSetSpanJSONAttributes` refactor from #20464 to the
`cultureContext` integration's `processSegmentSpan` hook. This gives us
in-place mutation instead of spread-and-reassign and nullish values are
skipped (these get dropped during serialization anyways but doesn't hurt
to just not assign them in the first place).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>safeSetSpanJSONAttributes in cultureContext integration (#20481)1 parent e2d35a2 commit fdeba11
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
0 commit comments