Skip to content
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

Evaluating all flags #257

Closed
ardyfeb opened this issue Apr 2, 2020 · 2 comments
Closed

Evaluating all flags #257

ardyfeb opened this issue Apr 2, 2020 · 2 comments
Assignees

Comments

@ardyfeb
Copy link

ardyfeb commented Apr 2, 2020

Is your feature request related to a problem? Please describe.
Feature, allow evaluate all available flags

Describe the solution you'd like
Querying available flags which is return all flags that fit for current context. Example:

GET /api/v1/evaluate_all
{
  "entity_id": "string",
  "context": {
    "property1": "string",
    "property2": "string"
  }
}

and returns

{
  "entity_id": "string",
  "request_context": {
    "property1": "string",
    "property2": "string"
  },
  "match_flags": [
      {
        "key": "string",
       "value": "string"
      }
  ]
}

Additional context

@ardyfeb ardyfeb changed the title Evaluate feature flags Evaluating all flags Apr 2, 2020
@markphelps
Copy link
Collaborator

@ardyfeb evaluating all flags would not be very performant as it would have to loop through each and determine which segments/constraints they match.

Would something like #61 help instead?

@stale
Copy link

stale bot commented May 6, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 6, 2020
@stale stale bot closed this as completed May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants