-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NatsClient to DI #689
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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