String conversion to scientific notation
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Use the parse(...) call in the issue as the regression case and inspect the query-string value conversion path that produces the Sequelize where clause. Add a regression test asserting the value remains the string "97E4", then run the relevant parser test suite.
Written by the indexing model from the issue text.
Description
If you try parsing the following query string, you do not obtain 97E4 but 970000.
expect(parse("page[number]=1&page[size]=1&filter=equals(value,'97E4')")).toEqual({
orm: "sequelize",
data: {
offset: 0,
limit: 1,
where: {
value: { [Op.eq]: "97E4" },
},
subQuery: false,
errors: [],
},
})
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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 bitovi/querystring-parser
-
Unable to parse filter when the string contains : - , + , _ , * or any num alpha numerical sign. Open
bitovi/querystring-parser#83 · 2 comments · 1 assignee ·
All issues in bitovi/querystring-parser
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100