-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for client-side prerequisite events (#201)
This commit updates `AllFlagsState` to track prerequisite evaluations. This didn't require modifying the eval module, as it already exposes a `PrerequisiteEventRecorder` interface with the necessary info. The `AllFlagsState` public API allows for fetching a flag's details (`FlagState`) from the top-level `AllFlags` object. This struct now has prerequisite information exposed. Additionally when the `AllFlags` is marshaled to JSON, it will now contain the prerequisite relationships for each flag.
- Loading branch information
1 parent
ece9cab
commit d9804ec
Showing
7 changed files
with
366 additions
and
5 deletions.
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
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
Oops, something went wrong.