open-feature / open-feature/php-sdk-contrib

[FEATURE] providers -> GoFeatureFlag: provide flag metadata with getMetadata() or getFlagMetadata() in evaluation response

Open
#175 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Needs Triage
Dominant language
PHP
Stars
17
Forks
14
Avg merge
6d 16h
Merged PRs (30d)
6

Description

Requirements

Current Behaviour
It's not possible to get flag's metadata from an instance of OfrepApiSuccessResponse when a flag is retrieved using get*Details().

New Behaviour
an instance of OfrepApiSuccessResponse expose a getMetadata() or getFlagMetadata() method to get flag's metadata from the OFREP API response.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with OfrepApiSuccessResponse and the get*Details() evaluation-response entry points mentioned in the issue. Inspect how the OFREP API response currently stores or exposes flag data, then verify that the completed response provides a getMetadata() or getFlagMetadata() method returning the flag metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.