Missing await causes true evaluation
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, typescript
- Domain
- api
Research direction
Start by locating the isEnabled implementation and any related usage or tests, then reproduce the conditional shown in the issue. The issue provides no target behavior beyond identifying the missing-await problem, so the intended resolution and completion criteria need clarification before implementation.
Written by the indexing model from the issue text.
Description
if (temp.isEnabled("foo")) {
button.className = "cool";
button.textContent = "Cool Button";
} else {
button.className = "lame";
button.textContent = "Lame Button";
}
We will always run the "cool" path here, because I didn't put an await on the isEnabled call. I think this is bad.
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 6
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
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 microsoft/FeatureManagement-JavaScript
-
Contributor Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/FeatureManagement-JavaScript#141 · 2 comments · 2 reactions ·
-
microsoft/FeatureManagement-JavaScript#89 · 1 comment · 1 assignee ·
-
microsoft/FeatureManagement-JavaScript#32 · 1 assignee ·
-
microsoft/FeatureManagement-JavaScript#31 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoft/FeatureManagement-JavaScript#20 · 1 comment · 1 reaction ·
All issues in microsoft/FeatureManagement-JavaScript
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
fil-donadoni/tolaria#4409 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
corsairdev/corsair#1764 ·