[discourse] Selecting values from an array of strings #4321
-
Originally posted by member on Discourse Hi, team! Is it currently possible to work with an array of strings? For example, I have an array
Can I somehow check if it contains only I noticed that a similar question was already discussed and is on the roadmap [FLI-921], but are there any alternative methods to configure this in the current release? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I couldn't find any documentation or built-in support in the current release for working with arrays of strings or for checking if an array contains only a specific value. There are also no public details available about roadmap item FLI-921 or any related discussions in the Flipt repo or docs. If you need to check if an array like roles contains only "editor", you'll need to implement this logic yourself in your integration or client code, as there isn't a reusable function for this in Flipt right now. If you have a specific use case or context (like a rules engine or policy definition), let me know and I can suggest a workaround or example for that scenario. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Reply from mark on Discourse: FLI-921Hey we don’t currently support it but can get it added in the next release as I don’t think it would be too hard to implement |
Beta Was this translation helpful? Give feedback.
-
Reply from member on Discourse: Hey @mark ! Great, it would be nice to have that functionality in the next release! |
Beta Was this translation helpful? Give feedback.
this was fixed in a previous release