Skip to content

Commit a5b9e18

Browse files
authored
Add default Version implementation to TaskOrchestrationContext (#408)
Signed-off-by: halspang <[email protected]>
1 parent 745bf47 commit a5b9e18

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## v1.9.1 (Unreleased)
4+
- Add default version in `TaskOrchestrationContext` by @halspang in ([#408](https://github.com/microsoft/durabletask-dotnet/pull/408))
5+
36
## v1.9.0
47

58
- Fix schedule sample logging setup by @YunchuWang in ([#392](https://github.com/microsoft/durabletask-dotnet/pull/392))

src/Abstractions/TaskOrchestrationContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public abstract class TaskOrchestrationContext
6363
/// <summary>
6464
/// Gets the version of the current orchestration instance, which was set when the instance was created.
6565
/// </summary>
66-
public abstract string Version { get; }
66+
public virtual string Version => string.Empty;
6767

6868
/// <summary>
6969
/// Gets the entity feature, for interacting with entities.

0 commit comments

Comments
 (0)