-
Notifications
You must be signed in to change notification settings - Fork 19
feat: support prerequisite relation data in all_flags_detail #99
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
Conversation
354d42a to
245b206
Compare
| } | ||
|
|
||
| let detail = evaluate(store.to_store(), &flag, context, None); | ||
| let event_recorder = DirectPrerequisiteRecorder::new(key.clone()); |
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.
Could save a clone and take a reference, then give it back after we're done.. but seems not worth it.
ab366ee to
aeb94ce
Compare
| )); | ||
| } | ||
|
|
||
| #[test] |
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.
We didn't have any all_flags_detail tests (that I could find), so added some basic ones here.
7ba4a7d to
97becaf
Compare
🤖 I have created a release *beep* *boop* --- ## [2.3.0](2.2.1...2.3.0) (2024-10-24) ### Features * support prerequisite relation data in all_flags_detail ([#99](#99)) ([d0ad003](d0ad003)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This PR updates the
FlagDetailstruct returned byall_flags_detailto contain prerequisite relations for flags.