.NET Standard Client for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at https://www.flagsmith.com/
Hi guys!
I see in the example you register Flagsmith client as singleton, but in fact this is a typed httpclient.
Is it better to use this approach mb?
@vpetrusevici thank you for bringing this to our attention. We will consider your comments. If you like to build a PR with the proposed changes it would be also much appreciated.
Hi guys! I see in the example you register Flagsmith client as singleton, but in fact this is a typed httpclient. Is it better to use this approach mb?
Because static/singleton HttpClient doesn't respect DNS changes and is considered bad practice. See details here