Commit cf4ef3f
fix(shared): use Option for parent span id
- Update import to include Option
- Use Option.getOrUndefined for parent span
- Clarify no behavioral change to tracing
refines parent span id handling by using Option to safely extract
spanId, aligning with existing optional value patterns and preventing
runtime issues.
Co-Authored-By: Git Agent <noreply@git-agent.dev>1 parent d8c498d commit cf4ef3f
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
0 commit comments