Nominatim.API
Nominatim.API copied to clipboard
Are instances thread safe and can be configured as singletons?
Its not clear from the README is the code is threadsafe. How should these be registered for DI?
The integration tests provide some guidance on how to register the services.
Scoped should be sufficient. The way that we are using IHttpClientFactory
should be thread-safe, but unless you're making thousands of calls per second, it's probably not worth the trouble to use a singleton.