Skip to content

[FEATURE] Support retrieving numeric metadata as either either integers or decimals #443

@toddbaert

Description

@toddbaert

Requirements

The metadata class is a simple abstraciton that holds flag metadata. It can store bool/string/numeric values. These are often deserialized from JSON or some other encoding. For that reason, we should support the ability to interpret numeric values as either decimals or whole integers (currently we either store them as doubles or ints and retrieving them the wrong way results in null values).

Link to spec for metadata: https://openfeature.dev/specification/types#flag-metadata

We do something similar to evaluation context values.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions