-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
With this schema change, flag metadata can now be stored in flag configuration files. Specifically, these can contain things like version and flag set id information so that consumers can use this data in flag evaluations, caching, telemetry etc.
We need to add this metadata into flags which are evaluated in RPC mode as well as in OFREP. That means modifications to the handlers here and here, respectively. Essentially, we need to take the properties from the flag definition and include them in the response in the flag metadata field.
Acceptance criteria:
- update schema git submodule to use changes in feat: add flag set and flag metadata to schema flagd-schemas#173
- OFREP handler adds flag
idandversionmetadata (https://github.com/open-feature/flagd/blob/main/flagd/pkg/service/flag-evaluation/ofrep/handler.go) - RPC evaluations add flag
idandversionmetadata (https://github.com/open-feature/flagd/blob/main/flagd/pkg/service/flag-evaluation/flag_evaluator_v2.go) - associated tests for the 2 handlers above
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers