open-feature / open-feature/php-sdk-contrib
[FEATURE] providers -> GoFeatureFlag: provide flag metadata with getMetadata() or getFlagMetadata() in evaluation response
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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