-
Notifications
You must be signed in to change notification settings - Fork 54
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
Simplified NATS client #607
Conversation
Moved functionality from NATS.Client package into NATS.Client.Simplified since We can't use NATS.Client package as it belongs to v1.
Comment without any direction: As awkward as the convention is, should we consider cases where (I'm fine either way just DAing 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.
Looks ok to me.
One thing I've been meaning to dive into is looking for gaps in documentation. PRs like this could include documentation that addresses cases such as folks wanting to remain AOT-friendly. Perhaps an article or some section in the docs.
Could also include documentation like you've mentioned about where the delineation is for projects that should be AOT-friendly. Either in CONTRIBUTING.md or the docs.
* Fixed consume pending message calculation (#626) * ServiceProvider callback for NATS DI configuration (#619) * Nats web socket opts improvements (#623) * Fix various disposable issues (#625) * Make NuidWriter public (#618) * NatsOpts.ConfigureWebSocketOpts callback handler (#605) * Simplified NATS client (#607) * Update docs (#595) * Add default timeout to initial commands (#594) * Extensive logging for reconnect debugging (#593) * Add clear next step navigation to API index doc (#592) * Add NATS client implementation (#589)
* Fixed consume pending message calculation (#626) * ServiceProvider callback for NATS DI configuration (#619) * Nats web socket opts improvements (#623) * Fix various disposable issues (#625) * Make NuidWriter public (#618) * NatsOpts.ConfigureWebSocketOpts callback handler (#605) * Simplified NATS client (#607) * Update docs (#595) * Add default timeout to initial commands (#594) * Extensive logging for reconnect debugging (#593) * Add clear next step navigation to API index doc (#592) * Add NATS client implementation (#589)
We moved functionality from the
NATS.Client
package intoNATS.Client.Simplified
because theNATS.Client
package belongs to v1 and cannot be used. While we could have used theNATS.Net
package, doing so would create dependencies on all other packages. To avoid this, NATS.Net remains a meta package that pulls everything together, allowing developers the flexibility to pull in packages gradually if they choose to use the simplified package with minimal dependencies.There is one breaking change: the
NATS.Net
package will now reference the ad-hoc JSON serialization package, which may affect AOT (Ahead-of-Time) publishing for certain use cases, though this is likely uncommon. It's crucial that we avoid using non-AOT-friendly APIs, such as ad-hoc JSON serialization, in the core library.