Skip to content

Make AddAWSDynamoDBDistributedCache *only* add and not configure as well #63

@rb1n

Description

@rb1n

The current approach is not ideal when you want to add the services separately to configuring them.

eg it would be useful to be able to configure in one place:

services
    .AddOptions<DynamoDBDistributedCacheOptions>()
    .Configure<IConfiguration>((options, config) => config.GetSection("DynamoDBCache").Bind(options))
    .ValidateDataAnnotations();

// other configuring...

then be able to add the services somewhere else, allowing DI to resolve the options

services.AddAWSDynamoDBDistributedCache();

// add other services...

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issuequeuedsEffort estimation: small

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions