novuhq / novu-dotnet

.NET SDK for Novu - The open-source notification infrastructure for engineers. 🚀
MIT License
25 stars 13 forks source link

Separate out in DI the singleton Client from the explicit Clients #60

Closed toddb closed 1 year ago

toddb commented 1 year ago

The RestService client is a single and wouldn't likely to be used at the same time as the explicit clients, so let people use only what they need.

Also the singleton client can remain backwards capatible but seems like the HttpClient (Pool) is going to need to be managed via injection.

toddb commented 1 year ago

Released 0.3.1