java-sdk icon indicating copy to clipboard operation
java-sdk copied to clipboard

Creation details of a 'Feature Flag' to be included in EvaluationDetails

Open mathiasengmark-se opened this issue 7 months ago • 1 comments

Is your feature request related to a problem? Please describe.

I am trying to fetch creation details from via. the SDK for created feature flags, only to realize this is not a part of the object returned. However, when fetching the value for the same flag over REST, I get quite a bit more detailed data.

Describe the solution you'd like

It'd be nice to include simple creation details of the feature flags in the returned object in the SDK, which could mimic the alredy existing structure of within 'EvaluationDetails'.

Describe alternatives you've considered

Another solution to solve my perdicament, is to simply call the similar REST endpoint, however I'd prefer to do it throught the SDK.

mathiasengmark-se avatar May 05 '25 11:05 mathiasengmark-se

Hi @mathiasengmark-se

The SDKs' only purpose is to evaluate feature flags. This is done based on a downloaded JSON file. This JSON file only contains the data needed for the evaluation. We do not plan to put more data in the JSON file, as this would increase its size and, thus, the network traffic for our customers.

The REST API is a good solution for extracting this kind of data. Our only suggestion is to cache the values returned by REST. The REST API is not designed to be called every time a flag is evaluated.

We would be happy to help you find a good solution if you tell us more about your use case.

novalisdenahi avatar May 05 '25 12:05 novalisdenahi

This issue is marked stale because it has no activity in the last 3 weeks. The issue will be closed in one week. Please remove the stale flag to keep it open.

github-actions[bot] avatar May 27 '25 01:05 github-actions[bot]

This issue was closed due to no activity.

github-actions[bot] avatar Jun 03 '25 01:06 github-actions[bot]