dotnet / dotnet/dotnet-api-docs

Clarify the usage of DistributedCacheEntryOptions options in the Microsoft.Extensions.Caching.Distributed.IDistributedCache

Open
#5,454 1 comment 0 reactions 0 assignees View on GitHub
area-Extensions-Caching Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The `DistributedCacheEntryOptions options` is been passed as a parameter to multiple methods of the `IDistributedCache` interface. It is not clear in the docs how `options` should use? should it be used as read-only and not mutated? or should allow mutating it. The contract doc should be explicit about that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.