Skip to content

Commit 6cebf0e

Browse files
committed
remove enablestorage
1 parent b5bedd0 commit 6cebf0e

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

samples/LargePayloadConsoleApp/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
cts.Token);
9090

9191
Console.WriteLine($"RuntimeStatus: {result.RuntimeStatus}");
92-
Console.WriteLine($"UsesExternalStorage (result converter): {result.DataConverter?.UsesExternalStorage ?? false}");
9392
string deserializedInput = result.ReadInputAs<string>() ?? string.Empty;
9493
string deserializedOutput = result.ReadOutputAs<string>() ?? string.Empty;
9594

src/Abstractions/DataConverter.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ namespace Microsoft.DurableTask;
1818
/// </remarks>
1919
public abstract class DataConverter
2020
{
21-
/// <summary>
22-
/// Gets a value indicating whether this converter may return an external reference token instead of inline JSON.
23-
/// </summary>
24-
public virtual bool UsesExternalStorage => false;
25-
2621
/// <summary>
2722
/// Serializes <paramref name="value"/> into a text string.
2823
/// </summary>

src/Extensions/AzureBlobPayloads/Converters/LargePayloadDataConverter.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ public sealed class LargePayloadDataConverter(DataConverter innerConverter, IPay
2626
readonly LargePayloadStorageOptions largePayloadStorageOptions = largePayloadStorageOptions ?? throw new ArgumentNullException(nameof(largePayloadStorageOptions));
2727
readonly Encoding utf8 = new UTF8Encoding(false);
2828

29-
/// <inheritdoc/>
30-
public override bool UsesExternalStorage => true;
31-
3229
/// <summary>
3330
/// Serializes the value to a JSON string and uploads it to the external payload store if it exceeds the configured threshold.
3431
/// </summary>

0 commit comments

Comments
 (0)