open-feature / open-feature/java-sdk-contrib

feat!: adopt numeric coercion contract

Open
#1,822 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
49
Forks
81
Avg merge
20h 3m
Merged PRs (30d)
6

Description

Adopts the numeric coercion ADR in the flagd provider.

  • implement lossless numeric coercion in the in-process resolver (per-language flagd-core)
  • for ResolveAll / AnyFlag.double_value, apply the same lossless check client-side so bulk eval matches individual Resolve* behavior
  • bump flagd-testbed submodule; adopt @numeric-coercion-v2 and drop old @numeric-coercion exclusions/scenarios
  • coordinated release with other providers
  • breaking; call out in release notes

Covers both providers/flagd and the bundled providers/flagd-core (Java).

Parent: https://github.com/open-feature/flagd/issues/1995

Depends on

Blocked until the following land first:

  • open-feature/flagd#1996 (flagd + flagd-core implementation)
  • open-feature/flagd-testbed#379 (@numeric-coercion-v2 scenarios and new testbed release)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the numeric coercion ADR and inspect providers/flagd plus the bundled providers/flagd-core Java implementation. Wait for open-feature/flagd#1996 and flagd-testbed#379, then update the testbed submodule and adopt the v2 scenarios while removing the old exclusions. Done means both individual and bulk resolution follow the lossless contract and the breaking release is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, release, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.