Skip to content

Conversation

typotter
Copy link
Collaborator


labels: mergeable

Fixes FF-4161

Motivation and Context

Not updating the Config Stores on the Config Requestor means that the dev can call setFlagConfigurationStore without any effect. This actually causes test failures downstream where we are using and abusing the same client instance for all the tests.

This bug is blocking integrating the latest common downstream.

Description

  • allow config stores to be updated on the Config Requestor.

How has this been tested?

  • new unit tests
  • verified to fix downstream testing failures

});

describe('IConfigurationStore updates', () => {
it('should update configuration when stores are changed', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@typotter typotter enabled auto-merge (squash) March 20, 2025 20:14
@typotter typotter merged commit 246c2ae into main Mar 20, 2025
8 checks passed
@typotter typotter deleted the typo/ff-4161-js-common-singleton-instance-cannot-be-offline-init-after branch March 20, 2025 20:14
typotter added a commit that referenced this pull request Apr 22, 2025
…y are changed on the client (#257)

* reset config stores in the config requestor when set on the client
* tests
* v4.14.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants