-
Notifications
You must be signed in to change notification settings - Fork 25
fix: environment evaluation skip segments #213
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: chore/update-to-latest-evaluation-schemas
Are you sure you want to change the base?
fix: environment evaluation skip segments #213
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.
Can we try v3.3.0?
| private async getEnvironmentFlagsFromDocument(): Promise<Flags> { | ||
| const environment = await this.getEnvironment(); | ||
| const context = getEvaluationContext(environment); | ||
| const context = getEvaluationContext(environment, undefined, undefined, true); |
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.
nit: Can we use named arguments here?
| } | ||
|
|
||
| // Feature types | ||
| export interface CustomFeatureMetadata extends FeatureMetadata { |
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.
Not quite enjoying the Custom prefix here
| export interface CustomFeatureMetadata extends FeatureMetadata { | |
| export interface SDKFeatureMetadata extends FeatureMetadata { |
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.
A couple of minor comments, otherwise good to go IMO.
Changes:
getEnvironmentFlagsFromDocument