Skip to content

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

Merged
mhdawson merged 1 commit intonodejs:mainfrom
tniessen:sync-object-set-value-from
Mar 22, 2021
Merged

doc: sync Object::Set value arg with Value::From#933
mhdawson merged 1 commit intonodejs:mainfrom
tniessen:sync-object-set-value-from

Conversation

@tniessen
Copy link
Copy Markdown
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
Copy Markdown
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