-
Notifications
You must be signed in to change notification settings - Fork 2
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
Updated libraries and remove obsolete ones #7
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the collaboration. A few comments.
@@ -22,7 +22,7 @@ public static class CircuitBreakerRedisCollectionExtensions | |||
if(redisOptions.RedisConnectionConfiguration == null) | |||
throw new ArgumentNullException(nameof(redisOptions.RedisConnectionConfiguration)); | |||
|
|||
collection.AddDistributedRedisCache(options => options.Configuration = redisOptions.RedisConnectionConfiguration); | |||
collection.AddStackExchangeRedisCache(options => options.Configuration = redisOptions.RedisConnectionConfiguration); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add more details to the PR description? Did you consider creating another extension instead of changing this one?
<PackageReference Include="Microsoft.Extensions.Caching.Redis" Version="2.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.1" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.1.1" /> | ||
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="7.0.8" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing here, did you consider creating another extension?
No description provided.