Skip to content

Commit 42c8233

Browse files
authored
Merge pull request #80 from danielgerlag/member-expression-bug
member expression bug
2 parents f050adb + c66bac0 commit 42c8233

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/WorkflowCore/Interface/IStepBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public interface IStepBuilder<TData, TStepBody>
8484
/// <param name="dataProperty">Property on the data object</param>
8585
/// <param name="value"></param>
8686
/// <returns></returns>
87-
IStepBuilder<TData, TStepBody> Output<TOutput>(Expression<Func<TData, TOutput>> dataProperty, Expression<Func<TStepBody, TOutput>> value);
87+
IStepBuilder<TData, TStepBody> Output<TOutput>(Expression<Func<TData, TOutput>> dataProperty, Expression<Func<TStepBody, object>> value);
8888

8989
/// <summary>
9090
/// Wait here until to specified event is published

src/WorkflowCore/Services/FluentBuilders/StepBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public IStepBuilder<TData, TStepBody> Input<TInput>(Expression<Func<TStepBody, T
100100
return this;
101101
}
102102

103-
public IStepBuilder<TData, TStepBody> Output<TOutput>(Expression<Func<TData, TOutput>> dataProperty, Expression<Func<TStepBody, TOutput>> value)
103+
public IStepBuilder<TData, TStepBody> Output<TOutput>(Expression<Func<TData, TOutput>> dataProperty, Expression<Func<TStepBody, object>> value)
104104
{
105105
var mapping = new DataMapping();
106106
mapping.Source = value;

0 commit comments

Comments
 (0)