-
Notifications
You must be signed in to change notification settings - Fork 13
feat(Engine): Evaluate from EvaluationContext #108
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
base: feat/context-values-umbrella
Are you sure you want to change the base?
Conversation
8a8c07a
to
3f2eaf4
Compare
3f2eaf4
to
7295ca8
Compare
38c5cef
to
fe68922
Compare
Contributes to Flagsmith/flagsmith#6121
4e231b6
to
cc6ae4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great overall — just a handful of comments, some of them relevant to Flagsmith/engine-test-data#14.
.gitmodules
Outdated
path = tests/Engine/EngineTests/EngineTestData | ||
url = [email protected]:Flagsmith/engine-test-data.git | ||
branch = v1.0.0 | ||
branch = feat/context-values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be updated to include the new tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 0a201c6! 🎉
842a88f
to
d9d977c
Compare
(cherry picked from commit 2913611)
fc10655
to
7d0d026
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the current test suite passing, I'm confident to approve this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, one last comment: we need to implement https://github.com/Flagsmith/engine-test-data/pull/28/files.
0e5a777
to
acc06b3
Compare
Addressed in acc06b3. The client side also follows with 4145960. |
path = tests/Engine/EngineTests/EngineTestData | ||
url = [email protected]:Flagsmith/engine-test-data.git | ||
branch = v1.0.0 | ||
tag = v2.3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's include the variant sorting tests:
tag = v2.3.0 | |
tag = v2.4.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny comment and we're good to go.
Warning
Because we decided to break this project into smaller pieces only after work started, this branch will only see the engine changes.
Contributes to #98
This is pass 1 of 3.
get_evaluation_result
+ engine tests passing. No deleted code. (this PR)The engine work is largely inspired by flagsmith-engine.
Note
Notes are added to call for discussion or follow up.