android-client-sdk icon indicating copy to clipboard operation
android-client-sdk copied to clipboard

Get all flags filtering by tags

Open orafaaraujo opened this issue 3 years ago • 4 comments

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

orafaaraujo avatar Mar 09 '22 09:03 orafaaraujo

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.

louis-launchdarkly avatar Mar 10 '22 04:03 louis-launchdarkly

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!

orafaaraujo avatar Mar 10 '22 09:03 orafaaraujo

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

ccadenast avatar Feb 26 '24 17:02 ccadenast

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.

daroltidan avatar Jun 01 '24 08:06 daroltidan