NServiceBus icon indicating copy to clipboard operation
NServiceBus copied to clipboard

Enable advanced saga mapping

Open johannesg opened this issue 13 years ago • 4 comments

The method:

ConfigureMapping<OrderAccepted>(m => m.OrderId)
   .ToSaga(s => s.OrderId);

Both arguments are of type Expression<Func>. If we changed the message argument to use a Func we could allow for more advanced message mappings. For example, have a method on the message that returns the concat of 2 fields and use that to find the saga.

johannesg avatar Feb 04 '13 07:02 johannesg

@johannesg any chance you will have time to implement this?

SimonCropp avatar Jul 18 '13 06:07 SimonCropp

Maybe, but not at the moment. I'm on vacation now and trying to stay away from computers as much as possible.

2013/7/18 Simon Cropp [email protected]

@johannesg https://github.com/johannesg any chance you will have time to implement this?

— Reply to this email directly or view it on GitHubhttps://github.com/NServiceBus/NServiceBus/issues/943#issuecomment-21164316 .

johannesg avatar Jul 18 '13 12:07 johannesg

Didn't you fix this one @SimonCropp ?

andreasohlund avatar Sep 12 '14 19:09 andreasohlund

duplicate of #2143

fixed in V5

SimonCropp avatar Oct 18 '14 00:10 SimonCropp