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

Identity overrides in local evaluation mode #17

Closed
khvn26 opened this issue Jan 30, 2024 · 0 comments · Fixed by #20
Closed

Identity overrides in local evaluation mode #17

khvn26 opened this issue Jan 30, 2024 · 0 comments · Fixed by #20
Assignees

Comments

@khvn26
Copy link
Member

khvn26 commented Jan 30, 2024

After Flagsmith/flagsmith-rust-flag-engine#11 is done and released:

  1. On environment update in local evaluation mode, store overrides so they're efficiently accessed by identifier.
  2. For ‎Flagsmith::build_identity_model interface (now more appropriate to call it get_identity_model), use the storage above to retrieve the identity overrides. Fall back to a new IdentityModel instance if not found. If found, update traits with user-provided traits.
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 a pull request may close this issue.

2 participants