feat: make context injection into functions optional when we trace - #71
Conversation
tracetraceCoverage report
Test suite run success85 tests passing in 12 suites. Report generated by 🧪jest coverage report action from 1aa31a0 |
0408d68 to
af2f788Compare🚫 Unpublished versions: ∅
|
af2f788 to
b34a8d6Compare🚫 Unpublished versions:
|
…we `trace` feat: make context injection into functions optional by default when we `trace`
b34a8d6 to
1e9cf2aCompareRemoves the `prepare` script which only ran `npm audit`. This script is unnecessary as `npm audit` is not needed in the publish lifecycle.
🚫 Unpublished versions:
|
Uh oh!
There was an error while loading. Please reload this page.
🚫 Unpublished versions: |
feat: Make context injection optional in trace decorator.
This change introduces an
injectContextInArgsoption to the trace decorator, defaulting tofalse, allowing users to control whether the trace context is automatically injected into the decorated function's arguments.The change aims to provide greater flexibility when tracing code execution.