launchdarkly / android-client-sdk

LaunchDarkly Client-side SDK for Android
Other
45 stars 23 forks source link

Get all flags filtering by tags #157

Open orafaaraujo opened 2 years ago

orafaaraujo commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 6 months ago

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

daroltidan commented 3 months ago

is there a way to expose the tags at when getting the allTags. or some whay to link the flags to the tags? so we can filter them locally?

We would want to not show in the front flags for backend, or viceversa.