lumigo-io / lumigo-cdk-constructs

Home to the Lumigo constructs for the AWS Cloud Development Kit (AWS CDK)
Apache License 2.0
7 stars 1 forks source link

lambdaEnableW3CTraceContext default value is not used when providing props #31

Closed hoegertn closed 1 year ago

hoegertn commented 1 year ago

When providing a props object without setting the lambdaEnableW3CTraceContext option, the default value of true is no longer used.

The offending line is: https://github.com/lumigo-io/lumigo-cdk-constructs/blob/e89695fcd922a02cc6cd1da53b66466474c73b75/src/lumigo.ts#L344

It does not default to true if not provided at all.