Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: sync Object::Set value arg with Value::From #933

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

tniessen
Copy link
Member

The list of types that are valid for the value argument of Napi::Object::Set is inaccurate. Instead of trying to maintain it, let's just add a reference to Napi::Value::From since any argument to Napi::Object::Set is passed to Napi::Value::From anyway.

@tniessen tniessen added the doc label Mar 16, 2021
Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@mhdawson mhdawson merged commit 6490b1f into nodejs:main Mar 22, 2021
deepakrkris pushed a commit to deepakrkris/node-addon-api that referenced this pull request Sep 23, 2021
@tniessen tniessen deleted the sync-object-set-value-from branch October 7, 2021 16:52
deepakrkris pushed a commit to deepakrkris/node-addon-api that referenced this pull request Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants