Skip to content

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.

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.

4 participants