Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/AwsLambda.Host/Core/Context/DefaultLambdaHostContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public async ValueTask DisposeAsync()

public TimeSpan RemainingTime => _lambdaContext.RemainingTime;

public string TenantId => _lambdaContext.TenantId;

public string TraceId => _lambdaContext.TraceId;
Comment on lines +72 to +74

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Fix TenantId/TraceId pass-throughs unsupported by ILambdaContext

DefaultLambdaHostContext now forwards _lambdaContext.TenantId and _lambdaContext.TraceId, but _lambdaContext is typed as Amazon.Lambda.Core.ILambdaContext and the pinned version (2.8.0 in Directory.Packages.props) does not define these members. This code will not compile because the interface lacks those properties; callers cannot build or run until the properties are removed or the dependency is updated to an interface that exposes them.

Useful? React with ๐Ÿ‘ย / ๐Ÿ‘Ž.


// โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
// โ”‚ ILambdaHostContext โ”‚
// โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
Expand Down
Loading