Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor service classes to use createServicePolicy
A previous commit added a `createServicePolicy` function to `controller-utils`. This allows us to refactor the following service classes which make use of a Cockatiel policy by replacing boilerplace code with a simple function call: - `CodefiV2` in `assets-controllers` - `ClientConfigApiService` in `remote-feature-flag-controller` Note that other service modules that do not yet make use of a Cockatiel policy have not been updated to use `createServicePolicy`. We would need to upgrade these areas to use the latest service object pattern we've established.
- Loading branch information