open-feature / open-feature/java-sdk
Structure.convertValue drops Long values, throwing ValueNotConvertableError
Open
Beginner friendly
bug
- Dominant language
- Java
- Stars
- 128
- Forks
- 61
- Avg merge
- 5h 57m
- Merged PRs (30d)
- 26
Description
`Structure.convertValue` only handles `Integer`/`Double` numbers, so a `Long` context value (supported by `Value` since #1985) falls through and throws `ValueNotConvertableError` instead of being converted.
Contributor guide
Research direction
Start by inspecting Structure.convertValue and the Value handling introduced in #1985. Reproduce the failure with a Long context value, then check the existing conversion tests or add coverage for this case. Done means Long values are converted successfully without ValueNotConvertableError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 82/100