Skip to content

Update Cloudinary Service Configuration during runtime #301

@pekevski

Description

@pekevski

Feature request for Cloudinary Angular SDK

An api on the cloudinary service to update the configuration during runtime

Explain your use case

We have implemented app configuration during runtime.

In order to initialise the config data of the cloudinary module we need to be able to update the configuration at a later stage of the angular module initialisation process.

Describe the problem you’re trying to solve

Currently we hook into the APP_INITIALIZER provider which fetches local configuration at runtime. We would like to use the local cloudinary values and inject them into the cloudinary service that would have already been imported prior to this process.

Do you have a proposed solution?

add an updateConfig(config: CloudinaryConfiguration) method to the cloudinary.service.ts file which will update the cloudinary instances' config at that point.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions