Skip to content

replace wildcard data property with per-instance proxy#6071

Open
dcarney-cf wants to merge 1 commit intomainfrom
dcarney/moar-this-deprecation
Open

replace wildcard data property with per-instance proxy#6071
dcarney-cf wants to merge 1 commit intomainfrom
dcarney/moar-this-deprecation

Conversation

@dcarney-cf
Copy link
Contributor

No description provided.

@dcarney-cf dcarney-cf requested review from a team as code owners February 13, 2026 16:06
auto reflectGetFn = check(reflectObj->Get(context, v8StrIntern(isolate, "get")));
auto handler = v8::Object::New(isolate);
check(handler->Set(context, v8StrIntern(isolate, "get"),
v8::Function::New(context, proxyGetTrap, reflectGetFn).ToLocalChecked()));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We avoid using ToLocalChecked... the check(...) should handle things correctly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks. will fix. don't look too hard at this, as it still needs a bunch of cleanup. it's more of the approach that needs to be considered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants