Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: for common v4.6.2 #123

Merged

Conversation

sameerank
Copy link
Contributor


labels: mergeable

Fixes: #issue

Motivation and Context

Description

Need to use the new setSubjectAndPrecomputedFlagsRequestParameters method instead

How has this been tested?

@sameerank sameerank requested a review from felipecsl December 11, 2024 01:10
@@ -597,7 +597,7 @@ export async function precomputedInit(
throwOnFailedInitialization: true, // always use true here as underlying instance fetch is surrounded by try/catch
skipInitialPoll: skipInitialRequest,
};
instance.setPrecomputedFlagsRequestParameters(precomputedFlagsRequestParameters);
instance.setSubjectAndPrecomputedFlagsRequestParameters(precomputedFlagsRequestParameters);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the fix. The new version of common introduces this function that is expected to be used here

@felipecsl felipecsl merged commit 2b1ed87 into felipecsl--dispatcher-config Dec 11, 2024
8 checks passed
@felipecsl felipecsl deleted the sameeran/fix-for-common-v4.6.2 branch December 11, 2024 01:32
felipecsl added a commit that referenced this pull request Dec 11, 2024
* feat(events): Allow providing config for DefaultEventDispatcher

* write test

* fix tests

* fix: for common v4.6.2 (#123)

* Include subject info in log

* Update to setSubjectAndPrecomputedFlagsRequestParameters

---------

Co-authored-by: Sameeran Kunche <skunche@gmail.com>
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