Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't count stats for parent flags, even in get_variant (#300)
This PR fixes an issue where parent flags would have metrics counted when you call get_variant on a child flag. This was due to a missing skip_stats argument in the get_variant method of a feature. I have added a test and the specific data setup that was reported to cause the issue.
- Loading branch information
1 parent
37c7df4
commit 31c33eb
Showing
3 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters