Skip to content

Commit

Permalink
#216 Input of activity is not shown with MSSQL storage provider (#230)
Browse files Browse the repository at this point in the history
* #216

* bumped up .NET version

* fixed build

* fixed build

* fixed build
  • Loading branch information
scale-tone authored Jan 17, 2025
1 parent f5300a9 commit cb09931
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions custom-backends/dotnetIsolated-mssql/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ private static HistoryEvent ToHistoryEvent(SqlDataReader reader, DateTimeOffset?
EventType = reader["EventType"].ToString(),
EventId = reader["EventId"] is DBNull ? null : (int?)reader["EventId"],
Name = reader["Name"].ToString(),
Input = reader["Input"] is DBNull ? null : reader["Input"].ToString(),
Result = reader["Result"].ToString(),
Details = reader["Details"].ToString(),
SubOrchestrationId = reader["SubOrchestrationId"].ToString(),
Expand Down
1 change: 1 addition & 0 deletions custom-backends/mssql/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ private static HistoryEvent ToHistoryEvent(SqlDataReader reader, DateTimeOffset?
EventType = reader["EventType"].ToString(),
EventId = reader["EventId"] is DBNull ? null : (int?)reader["EventId"],
Name = reader["Name"].ToString(),
Input = reader["Input"] is DBNull ? null : reader["Input"].ToString(),
Result = reader["Result"].ToString(),
Details = reader["Details"].ToString(),
SubOrchestrationId = reader["SubOrchestrationId"].ToString(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit cb09931

Please sign in to comment.