Skip to content

Commit 8659b36

Browse files
feat: Add Grpc.Core dependency, change defaults for task
1 parent 34bdabd commit 8659b36

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Nitric.Sdk/Nitric.Sdk.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<ItemGroup>
1515
<PackageReference Include="Google.Protobuf" Version="3.17.3" />
1616
<PackageReference Include="Grpc" Version="2.38.1" />
17+
<PackageReference Include="Grpc.Core" Version="2.38.1" />
1718
<PackageReference Include="Grpc.Tools" Version="2.38.1" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
1819
<PackageReference Include="Newtonsoft.json" Version="13.0.1" />
1920
<PackageReference Include="Grpc.Net.Client" Version="2.38.0" />

Nitric.Sdk/Queue/Task.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public class Builder
5151
private object payload;
5252
public Builder()
5353
{
54-
this.id = null;
55-
this.payloadType = null;
54+
this.id = "";
55+
this.payloadType = "";
5656
this.payload = Common.Util.ObjToStruct(new Dictionary<string, string>());
5757
}
5858
public Builder Id(string id)

0 commit comments

Comments
 (0)