Skip to content

Proposal to rename refresh APIs  #350

Closed

Description

Due to some confusion around the use of the word "cache" in our API names, we could change the following APIs to better reflect their functionality:
AzureAppConfigurationRefreshOptions

  • SetCacheExpiration -> SetRefreshInterval

FeatureFlagOptions

  • CacheExpirationInterval property -> Deprecate the property in favor of a new SetFeatureFlagRefreshInterval method

This would help clarify that the provided TimeSpan is only used to trigger a new refresh operation. If nothing has changed on the server, configuration values being used by the application continue to be valid even after this time has passed - values don't "expire".

The proposed name changes also align with our existing AzureAppConfigurationKeyVaultOptions.SetSecretRefreshInterval API.

cc Drago Draganov (@drago-draganov) Zhenlan Wang (@zhenlan)

Activity

  1. amerjusupovic commented on Jul 8, 2024

    @amerjusupovic
    Contributor

    Completed and will be part of the next preview release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions