fix(ts): childOf not being able to be set to null#7452
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7452 +/- ##
=======================================
Coverage 80.34% 80.34%
=======================================
Files 731 731
Lines 31093 31093
=======================================
Hits 24981 24981
Misses 6112 6112 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Overall package sizeSelf size: 4.58 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
This comment has been minimized.
This comment has been minimized.
BenchmarksBenchmark execution time: 2026-02-06 18:19:40 Comparing candidate commit 1e3b1c9 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 229 metrics, 31 unstable metrics. |
* fix childOf not being able to be set to null * Add integrationName into ts declaration file
* fix childOf not being able to be set to null * Add integrationName into ts declaration file
* fix childOf not being able to be set to null * Add integrationName into ts declaration file
* fix childOf not being able to be set to null * Add integrationName into ts declaration file
* fix childOf not being able to be set to null * Add integrationName into ts declaration file
What does this PR do?
This PR adds the proper TS declaration to allow TypeScript users to set childOf to null.
Motivation
Allow users to set childOf to null, without this users can't create a root span that doesn't inferr its parent from the active async context.
Additional Notes
fixes #6077