Skip to content

[FFM-1264] segment evaluator #6

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

Merged
merged 4 commits into from
Sep 15, 2021
Merged

[FFM-1264] segment evaluator #6

merged 4 commits into from
Sep 15, 2021

Conversation

enver-bisevac
Copy link
Contributor

No description provided.

src/evaluator.ts Outdated

// not found in rules proceed with default serve
variation = fc.defaultServe.variation;
// default serve variation is undefined so continue with distribution
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't appear that you are testing whether the default serve variation is undefined

@@ -95,11 +95,35 @@ export class CfClient {
boolVariation(
identifier: string,
target: Target,
defaultValue: false,
defaultValue = false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I make this error ALL the time in TS

Copy link
Contributor

@knagurski knagurski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Just a couple of observations and nit-picks

@enver-bisevac enver-bisevac merged commit 93b5fb5 into main Sep 15, 2021
@enver-bisevac enver-bisevac deleted the FFM-1264 branch September 15, 2021 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants