Skip to content

Commit cb09931

Browse files
authored
#216 Input of activity is not shown with MSSQL storage provider (#230)
* #216 * bumped up .NET version * fixed build * fixed build * fixed build
1 parent f5300a9 commit cb09931

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.github/workflows/main-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
build:
1313

14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-20.04
1515

1616
steps:
1717
- uses: actions/checkout@v4

custom-backends/dotnetIsolated-mssql/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ private static HistoryEvent ToHistoryEvent(SqlDataReader reader, DateTimeOffset?
217217
EventType = reader["EventType"].ToString(),
218218
EventId = reader["EventId"] is DBNull ? null : (int?)reader["EventId"],
219219
Name = reader["Name"].ToString(),
220+
Input = reader["Input"] is DBNull ? null : reader["Input"].ToString(),
220221
Result = reader["Result"].ToString(),
221222
Details = reader["Details"].ToString(),
222223
SubOrchestrationId = reader["SubOrchestrationId"].ToString(),

custom-backends/mssql/Startup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ private static HistoryEvent ToHistoryEvent(SqlDataReader reader, DateTimeOffset?
216216
EventType = reader["EventType"].ToString(),
217217
EventId = reader["EventId"] is DBNull ? null : (int?)reader["EventId"],
218218
Name = reader["Name"].ToString(),
219+
Input = reader["Input"] is DBNull ? null : reader["Input"].ToString(),
219220
Result = reader["Result"].ToString(),
220221
Details = reader["Details"].ToString(),
221222
SubOrchestrationId = reader["SubOrchestrationId"].ToString(),

tests/durablefunctionsmonitor.dotnetbackend.tests/durablefunctionsmonitor.dotnetbackend.tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)