open-feature / open-feature/java-sdk
Structure.convertValue drops Long values, throwing ValueNotConvertableError
Aperta
Adatta ai principianti
bug
- Lingua principale
- Java
- Stelle
- 128
- Fork
- 61
- Merge medio
- 5h 57m
- PR unite (30g)
- 26
Descrizione
`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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Attiva
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 82/100