Fix big numbers

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
rust
Domain
backend

Research direction

The payload names no file or function, so start by searching the repository for where integer flag values are serialised, and reproduce the panic with a value above u64::MAX. The issue does not say what the correct behaviour should be (an error, a string, or a wider integer type), so confirm that with maintainers before coding. Done means the serialisation no longer panics and the chosen behaviour is covered by a test.

Written by the indexing model from the issue text.

Description

Approving with a notice that the engine would panic on serialising an integer flag value above u64

Originally posted by @Zaimwa9 in https://github.com/Flagsmith/edge-proxy-rs/pull/30#pullrequestreview-5759063070

Dominant language
Rust
Stars
3
Forks
1
Avg merge
2d 23h
Merged PRs (30d)
4

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No 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.

More from Flagsmith/edge-proxy-rs

All issues in Flagsmith/edge-proxy-rs

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.