* Implement workflow fault handling in HTTP context * Handle faulted workflows across process boundariesl
7 lines
251 B
C#
7 lines
251 B
C#
namespace Elsa.ProtoActor.Extensions;
|
|
|
|
internal static class ProtoStringExtensions
|
|
{
|
|
public static string EmptyIfNull(this string? value) => value ?? "";
|
|
public static string? NullIfEmpty(this string? value) => value == "" ? default : value;
|
|
} |