feat: make context injection into functions optional when we trace#71
feat: make context injection into functions optional when we trace#71
trace#71Conversation
tracetrace
Coverage report
Test suite run success85 tests passing in 12 suites. Report generated by 🧪jest coverage report action from 1aa31a0 |
0408d68 to
af2f788
Compare
|
🚫 Unpublished versions: ∅
|
af2f788 to
b34a8d6
Compare
|
🚫 Unpublished versions:
|
…we `trace` feat: make context injection into functions optional by default when we `trace`
b34a8d6 to
1e9cf2a
Compare
Removes the `prepare` script which only ran `npm audit`. This script is unnecessary as `npm audit` is not needed in the publish lifecycle.
|
🚫 Unpublished versions:
|
|
🚫 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.