open-feature / ofep

A focal point for OpenFeature research, proposals and requests for comments
https://openfeature.dev
20 stars 15 forks source link

Api extension discussion #40

Closed pbhandari9541 closed 1 year ago

pbhandari9541 commented 1 year ago

Issue: Sone Customer wants more information from api like following without featureFlag.

  1. API for listing qualified Variant Id, name etc for a given user/site/channel
  2. API for providing list of qualified feature flag for a giver user/site/channel.
  3. API for Multiple feature flag qualification like batch.(Currently, we support use cases for a single feature flag evaluation.)
  4. .
  5. .

The above list are some of them. we can shortlist them.

Thoughts: It would have been great if open-feature have this kind of capability.. like: String[] OR MutableStructure getQualifiedFlags(EvaluationContext); return list of feature flag names for a given usr etc. provider checks required input for evaluation in EvaluationContext , perform qualification and list all qualified flags for a given BU( filter unnecessary data).

what's next?? 1.is there a plans to extend open-feature api's to support above request? Currently, we have api that only works with feature flag and default value at minimum?

  1. is open-feature extensible to customer needs?

Notes: if open-feature doesn't plans to provide these interfaces. Then, we may have to plan for other solution to fulfill their needs.

beeme1mr commented 1 year ago

Hi @pbhandari9541, you could please elaborate on the use case? My initial thought is that this will be difficult to achieve in a generic way that works across all vendors but perhaps we can come up with a solution if we better understand the problem.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in next 60 days.

github-actions[bot] commented 1 year ago

This issue was closed automatically because there has not been any activity for 90 days. You can reopen the issue if you would like to continue to work on it.