Thanks, @zbraniecki, that’s a nice summary.
Good point. I’d like to point out that in both proposals (compound
and FluentMessage
) the complexity is approximately the same, with the exception of it being hidden in the case of the compound
API, and visible in FluentMessage
. The same work needs to be done in both, but with FluentMessage
, it’s the responsibility of the consumer to do it. This allows for greater flexibility, if it’s required. I see this as an advantage of the FluentMessage
proposal.