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

[FSSDK-9984] fix: initialization and setUser errors #255

Merged
merged 37 commits into from
Apr 9, 2024

Conversation

mikechu-optimizely
Copy link
Contributor

@mikechu-optimizely mikechu-optimizely commented Mar 22, 2024

Summary

Test plan

  • Existing unit and integration tests are expected to pass

Issues

  • FSSDK-9984 & FSSDK-9985

@mikechu-optimizely mikechu-optimizely marked this pull request as ready for review March 25, 2024 13:55
src/hooks.ts Outdated Show resolved Hide resolved
src/client.ts Outdated Show resolved Hide resolved
src/hooks.ts Outdated Show resolved Hide resolved
src/hooks.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

Clarification regarding null dataReadyPromise.

src/hooks.ts Outdated Show resolved Hide resolved
@mikechu-optimizely
Copy link
Contributor Author

Clarification regarding null dataReadyPromise.

@jaeopt I added an inline comment to clarify, hopefully. DM me on Teams to help me understand the covering case you're seeing.

@mikechu-optimizely
Copy link
Contributor Author

@jaeopt and @raju-opti, Can we do a trio programming session?

@mikechu-optimizely
Copy link
Contributor Author

@jaeopt & @raju-opti When's a good time to have a sync meeting on this?

@mikechu-optimizely
Copy link
Contributor Author

We discussed a better, more proper solution. I'm closing temporarily while I complete the WIP.

@mikechu-optimizely mikechu-optimizely requested review from raju-opti and jaeopt and removed request for jaeopt and raju-opti April 3, 2024 19:12
Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

Looks good. A few changes suggested. Wondering if we can have good tests covering all different scenarios for this complicated timing dependency.

src/client.ts Show resolved Hide resolved
src/client.ts Show resolved Hide resolved
src/Provider.tsx Outdated Show resolved Hide resolved
src/client.ts Show resolved Hide resolved
src/client.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

Need clarification about public projectConfig

src/client.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

LGTM

@mikechu-optimizely mikechu-optimizely merged commit fae169f into master Apr 9, 2024
10 checks passed
@mikechu-optimizely mikechu-optimizely deleted the mike/FSSDK-9984/fix-initialization-error branch April 9, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants