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

Get all flags filtering by tags #157

Open
orafaaraujo opened this issue Mar 9, 2022 · 3 comments
Open

Get all flags filtering by tags #157

orafaaraujo opened this issue Mar 9, 2022 · 3 comments

Comments

@orafaaraujo
Copy link

Feature request
Retrieve flags filtering by tags.

Describe the solution you'd like
On LDClient.allFlags() we can retrieve all feature flags with a given project and environment. Would be nice if we could have the flexibility to get all flags filtered by tags.

Describe alternatives you've considered
Something similar to this API of list all flags

Thank you

@louis-launchdarkly
Copy link
Contributor

Hello @orafaaraujo, thank you for reaching out with the suggestion. This sounds like a useful idea and I can put it on the product backlog.

In the meantime, while you may have business reasons that you can't do so (flag dependency and performance), our suggested workaround, for now, would be splitting the flags in multiple projects, and you can use the multiple environment feature and only fetch the flags in the project you need. I want to mention this workaround in case this is feasible for you to try.

@orafaaraujo
Copy link
Author

Hello, @louis-launchdarkly

Thank you for your suggestions!
Today we are using different projects, but we would like to distinguish some of them inside the project too.

Let me know if you have any news on it.
Have a good day!

@ccadenast
Copy link

I'd find this very useful. Do you happen to have any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants