Map Saga To Multiple Properties

Is there a way with ConfigureMapping to map multiple message properties to multiple Saga Data properties while configuring how to find a saga?

Hi Jeremy,

I think this is not possible be default so you have to use custom saga finder.
I don’t know your scenario but if mapping multiple message properties to single saga property will be enoguh then you can use message property expression:

protected override void ConfigureHowToFindSaga(SagaPropertyMapper<MySagaData> mapper)
{
    mapper.ConfigureMapping<MyMessage>(message => $"{message.Part1}_{message.Part2}")
        .ToSaga(sagaData => sagaData.SomeId);
}

Thanks, that is what I figured and that is exactly what I did too.