-
Notifications
You must be signed in to change notification settings - Fork 0
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
FF-2465 adds "environment" and "allocation.name" to details #107
FF-2465 adds "environment" and "allocation.name" to details #107
Conversation
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.
Love this quick iteration on demo day 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.
🙌
b396353
to
b8f67b8
Compare
I verified locally that the test data passes with this change. |
describe.each(getTestFilePaths())('for file: %s', (testFilePath: string) => { | ||
const testCase = parseJSON(testFilePath); | ||
describe.each(testCase.subjects.map(({ subjectKey }) => subjectKey))( |
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.
I re-wrote how this works so that the error messages are more clear and so that it's easier to debug
5cb1ea9
to
091be90
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.
👍 Consider making the allocation names and keys more closely resemble how they would look in the config generated by the server
const flagEvaluationDetailsBuilder = new FlagEvaluationDetailsBuilder( | ||
configDetails.configEnvironment.name, |
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.
Note to self: typescript ensures we don't need optional chaining here because of the environment interface in ConfigDetails
, configEnvironment: Environment;
091be90
to
b57be38
Compare
* FF-2465 adds "environment" and "allocation.name" to details * FF-2526 update to accommodate EnvironmentDto * FF-2526 FF-2526 fix "environment" and code review changes
FF-2465
Motivation and Context
This change was motivated by internal feedback.
Description
Adds
environment
andassignments[].name
to the new "assignment details" functionality.How has this been tested?
verified test data works with updated change
Manual testing: