`EvaluationResult` and related structs' fields are public
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 52/100
Research direction
Start by finding the EvaluationResult, FlagResult and SegmentResult struct definitions and their public field declarations, then check which of these are only read by callers. Decide which structs are read-only before changing anything, since the issue says "etc." without listing them all. Done means those fields are private, public getters exist, and the crate's existing tests still pass.
Written by the indexing model from the issue text.
Description
Declaring EvaluationResult, FlagResult, SegmentResult etc. fields as public suggests that we support consumers constructing them, which we in fact do not.
For read-only structs, we should make the fields private, and expose public getters instead.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 23h 26m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Flagsmith/flagsmith-rust-flag-engine
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Dependency DashboardOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in Flagsmith/flagsmith-rust-flag-engine
Similar issues
-
My Caps shows "Shared" on private Caps that were never sharedPossibly taken @AksharP5 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CapSoftware/Cap#4569 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Document Web UIOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
parquet: reject truncated BYTE_STREAM_SPLIT numeric pages instead of silently fabricating valuesOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day