Skip to content

Implement Object::Delete for Node-API-JSI #234

Description

@bghgary

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions