Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RunAOTCompilation>true</RunAOTCompilation>
<IncludeCommonFiles>true</IncludeCommonFiles>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<ProjectReference Include="..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition="'$(Configuration)'=='Debug'"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

using System.Text.Json.Serialization.Metadata;
using Amazon.Lambda.Core;
using AWS.Lambda.Powertools.Common;
using AWS.Lambda.Powertools.EventHandler.Resolvers.BedrockAgentFunction.Models;
using AWS.Lambda.Powertools.EventHandler.Resolvers.BedrockAgentFunction.Helpers;

Expand Down Expand Up @@ -54,6 +55,7 @@ private readonly
public BedrockAgentFunctionResolver(IJsonTypeInfoResolver? typeResolver = null)
{
_parameterMapper = new ParameterMapper(typeResolver);
SystemWrapper.Instance.SetExecutionEnvironment(this);
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
<TargetMultiFramework>false</TargetMultiFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IncludeCommonFiles>true</IncludeCommonFiles>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" />
<ProjectReference Include="..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" Condition="'$(Configuration)'=='Debug'"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Amazon.Lambda.Core;
using AWS.Lambda.Powertools.Common;
using AWS.Lambda.Powertools.EventHandler.Internal;

namespace AWS.Lambda.Powertools.EventHandler.AppSyncEvents;
Expand All @@ -20,6 +21,7 @@ public AppSyncEventsResolver()
{
_publishRoutes = new RouteHandlerRegistry<AppSyncEventsRequest, object>();
_subscribeRoutes = new RouteHandlerRegistry<AppSyncEventsRequest, bool>();
SystemWrapper.Instance.SetExecutionEnvironment(this);
}

#region OnPublish Methods
Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"Parameters": "1.3.1",
"Idempotency": "1.3.0",
"BatchProcessing": "1.2.1",
"EventHandler": "1.0.0",
"EventHandler.Resolvers.BedrockAgentFunction": "1.0.0",
"EventHandler": "1.0.1",
"EventHandler.Resolvers.BedrockAgentFunction": "1.0.1",
"Kafka.Json" : "1.0.1",
"Kafka.Avro" : "1.0.1",
"Kafka.Protobuf" : "1.0.1"
Expand Down
Loading