Skip to content
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

Shouldn't NatsBuilder register NatsClient to DI? #687

Open
W1zzardTPU opened this issue Dec 4, 2024 · 0 comments · May be fixed by #689
Open

Shouldn't NatsBuilder register NatsClient to DI? #687

W1zzardTPU opened this issue Dec 4, 2024 · 0 comments · May be fixed by #689

Comments

@W1zzardTPU
Copy link

Observed behavior

After calling .AddNatsClient(), no registration of NatsClient/INatsClient

Due to the naming I'd say the expectation is reasonable that this gets registered.

What's the current recommended way to use the NatClient class with DI?

Expected behavior

NatsClient/INatsClient get registered

Server and client version

latest

Host environment

No response

Steps to reproduce

No response

@mtmk mtmk linked a pull request Dec 4, 2024 that will close this issue
@mtmk mtmk linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant