open-feature / open-feature/cpp-sdk-contrib

[flagd] Verify number casting in evaluator engine

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2
Forks
3
Avg merge
1d 3h
Merged PRs (30d)
5

Description

Currently the evaluator doesn't differentiate between int and float. You can resolve either from the same variable. There is ongoing discussion on type checking f.e.: https://github.com/open-feature/flagd/issues/1481. After community reaches some agreement, we should verify if our implementation follows it.

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

Start by reading the linked discussion in open-feature/flagd#1481 to find the community agreement on integer and float type checking, then inspect the evaluator engine in this repository. Verify whether the implementation follows that agreement and update the relevant behavior if it does not; completion depends on the discussion reaching a decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.