Add NatsClient to DI#689
Conversation
This change modifies the default serializer and pending policy, hence it is technically a breaking change.
|
These changes look good to me. Does it make sense to keep |
@rickdotnet good point. I know I marked this as breaking already (actually not breaking compiler but behaviour) but do you think we'd upset a lot of code bases if we removed the method. hmm maybe obsolete the old one and keep it around for a while whether we introduce a new method or not? |
|
Safest bet, in my opinion, would be to mark it as obsolete and include a nudge in the right direction, either a new method or a link to docs. |
Since we now support ad-hoc JSON serialization by default, we can obsolete these methods. If there is interest, we can create more suitable and more general builder methods later on.
@rickdotnet sorry for the delay, this is done. let me know if you like the text goes with it - here |
This change modifies the default serializer and pending policy, hence it is technically a breaking change. To preserve the original behavior applications can add these settings:
resolves #687