Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rmotyka
Copy link

@rmotyka rmotyka commented Jun 28, 2023

No description provided.

@rmotyka rmotyka closed this Jul 4, 2023
@rmotyka rmotyka reopened this Jul 4, 2023
Copy link
Collaborator

@deniscapeto deniscapeto left a 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);
Copy link
Collaborator

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" />
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants