Feature-flags server-side SDK misses documented getFeatureFlags(user, flagNames) method

Hi!

I just discovered that getFeatureFlags(user, flagNames) is not supported in @forge/feature-flags latest, which currently is 1.0.5. It is documented here, but not here.
Will that be added in the future?

Best regards!

Hi @UdoHagemannDecadisAG. We updated the documentation by removing getFeatureFlags(user, flagNames) as it is not supported in @forge/feature-flags.

There are 2 function details that need to be added in the documentation and will be added shortly.

getFlag(user: User, flagId: string): FeatureFlag | undefined

Gets a specific flag’s evaluation details. Useful for debugging purposes.

getAllFlagIds(): string[]

Returns an array of all available flag IDs.

There is no plan to add it in the future. What is the use case you are looking for ? Will it work if you call the getFlag function repeatedly to get all the details ?

Thanks, @ChandanaMeka!

I just wanted to clarify, such that others won’t get distracted. The function would have been useful or nice to have, but is not essential.

Cheers!