All settings classes like EventStoreClientConnectivitySettings
must be records to be equatable out of the box
#272
Labels
EventStoreClientConnectivitySettings
must be records to be equatable out of the box
#272
Is your feature request related to a problem? Please describe.
I have several environments within the same app (default and sandbox).
DB connections may vary for each environment.
I want to add a health check only if database addresses are different.
I want to compare
EventStoreClientConnectivitySettings
but they are notIEquatable<EventStoreClientConnectivitySettings>
Describe the solution you'd like
Just mark all settings classes as
record
to bring value semantics andIEquatable<>
implementation out of the boxDescribe alternatives you've considered
Implement
IEqualityComparer
for each of the settings classThe text was updated successfully, but these errors were encountered: