-
Notifications
You must be signed in to change notification settings - Fork 30
feat: Added getFeatureVariableJson and getAllFeatureVariables #194
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
feat: Added getFeatureVariableJson and getAllFeatureVariables #194
Conversation
e02932e
to
6c609d3
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.
LGTM - Great Work
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 good. Just minor feedback.
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.
for getAllFeatureVariables I did not see the tests that would get all the variables including json and primitive types, looks like it tests only double_single_variable_feature
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 good, nit: json_single_variable_feature
should be more like multiple_variables_feautre
tests/TestData.php
Outdated
}, | ||
{ | ||
"id": "122252", | ||
"key": "json_invalid_variable", |
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.
Why is this invalid? Why not call this json_type_variable
or something?
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.
2 more changes recommended. Looks good after that.
Summary
Implemented getFeatureVariableJson and getAllFeatureVariables
Test plan
1- Tested with FSC
2- Added Unit tests