Flagsmith / Flagsmith/flagsmith-openfeature-provider-kotlin

Integer flag values lack 64-bit support

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Flag values above the 32-bit integer range can't be evaluated as integers — they error or fall back to [doubles](https://en.wikipedia.org/wiki/Double-precision_floating-point_format), losing precision. Unblocked once a [Kotlin SDK release](https://github.com/open-feature/kotlin-sdk/releases) ships [64-bit integer support](https://github.com/open-feature/kotlin-sdk/pull/225) (currently unreleased, one commit past `v0.8.0`).

## Acceptance criteria

- Whole-number flags beyond the 32-bit range evaluate as integers, with exact precision.
- Integers within range evaluate as they do today.

Contributor guide

No contributing guide indexed for this repository

Research direction

Check the Kotlin SDK release and linked 64-bit integer support change first, then locate the provider's integer flag evaluation path. Verify that whole-number values beyond 32-bit range retain exact precision while existing in-range values behave unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.