You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(Local evaluation): Use the new context-based engine (#109)
* Introduce context values evaluation data model
* Update engine test data
* Get ready for engine tests
* Introduce new engine
* Lint ✨
* Make priority clearer
* Update EvaluationResult spec
Contributes to Flagsmith/flagsmith#6121
* yay
* Fix identity traits data type
* WIP: First pass at using the new engine
* Update engine test data branch
* Let's talk, environment document
* Fix the toolbox
* Fix identity as an optional context
* Improve API
* Fix the talking
* Fix local evaluation setting
* Fix cloning contexts
* Make it easier to test private members
* Delete outdated code
* Make sure getEnvironmentFlags now works as expected
* Make code reusable
* Apples will never be bananas
* Found the key
* Connect all the dots
* Please run tests
* Stop wasting cycles
* Revert API changes in the offline handler
* Revert "Stop wasting cycles"
This reverts commit a52c914.
* Prevent us from deleting code we don't understand
* Fix casting
* Improve clarity
* Track TODO with an issue
#110
* Improve type handling in the IN operator
* Make MODULO check less prone to error
* Fix obtaining a context value
* Update comment to latest reality
* Delete skippable code
* Update test cases
* Fix tests
* Carry segment metadata around
* Please run tests
(cherry picked from commit 2913611)
* Map segment metadata from the environment context
* Comply with latest test data
* Ensure variants are selected consistently
* To each their responsibilities
* Update tests
* Respect historical variant priority (UUID-based)
* Improve architecture with feature metadata
* Fix virtual segments bleeding to the client
0 commit comments