Implement Object::Delete for Node-API-JSI
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
Research direction
Start in Core/Node-API-JSI/Include/napi/napi-inl.h and locate the Napi::Object::Delete overloads that currently throw std::runtime_error("TODO"). Reproduce the issue with the provided object.Set("value", 1) and object.Delete("value") example. Done means the property is deleted, the result is returned, and the call no longer throws.
Written by the indexing model from the issue text.
Description
[Filed by Copilot on behalf of @bghgary]
Describe the bug
Node-API-JSI’s Napi::Object::Delete overloads throw std::runtime_error("TODO") instead of deleting the requested property. The implementation is currently stubbed.
To Reproduce
auto object = Napi::Object::New(env);
object.Set("value", 1);
object.Delete("value");
The final call throws "TODO".
Expected behavior
Object::Delete should delete the property and return the result without throwing.
Screenshots
N/A
Other
- Platform: Windows x64 with the JSI backend.
- Dominant language
- C++
- Stars
- 22
- Forks
- 23
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 5
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 BabylonJS/JsRuntimeHost
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
BabylonJS/JsRuntimeHost#173 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
BabylonJS/JsRuntimeHost#228 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
BabylonJS/JsRuntimeHost#226 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
BabylonJS/JsRuntimeHost#219 ·
-
bug
BabylonJS/JsRuntimeHost#216 · 1 assignee ·
All issues in BabylonJS/JsRuntimeHost
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100