Skip to content

src: interject class TypeTaggable#1298

Closed
gabrielschulhof wants to merge 1 commit intonodejs:mainfrom
gabrielschulhof:1293-allow-type-tagging-of-external
Closed

src: interject class TypeTaggable#1298
gabrielschulhof wants to merge 1 commit intonodejs:mainfrom
gabrielschulhof:1293-allow-type-tagging-of-external

Conversation

@gabrielschulhof
Copy link
Copy Markdown
Contributor

Derive class TypeTaggable from Value, and let it serve as the base class for Object and External. That way, the type tagging is implemented for both classes.

Refs: #1293

@gabrielschulhof gabrielschulhof force-pushed the 1293-allow-type-tagging-of-external branch from 3149002 to 016cac8 Compare March 21, 2023 04:19
Derive class `TypeTaggable` from `Value`, and let it serve as the base
class for `Object` and `External`. That way, the type tagging is
implemented for both classes.

Additionally, exclude deleted .js files from linting.

Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com>
Refs: nodejs#1293
@gabrielschulhof gabrielschulhof force-pushed the 1293-allow-type-tagging-of-external branch from 016cac8 to f78e0c5 Compare March 21, 2023 04:21
@gabrielschulhof
Copy link
Copy Markdown
Contributor Author

gabrielschulhof commented Mar 27, 2023

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 pushed a commit that referenced this pull request Mar 27, 2023
Derive class `TypeTaggable` from `Value`, and let it serve as the base
class for `Object` and `External`. That way, the type tagging is
implemented for both classes.

Additionally, exclude deleted .js files from linting.

Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com>
Refs: #1293

PR-URL: #1298
Reviewed-By: Michael Dawson <midawson@redhat.com
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
@mhdawson
Copy link
Copy Markdown
Member

Landed as d013044

@mhdawson mhdawson closed this Mar 27, 2023
@gabrielschulhof gabrielschulhof deleted the 1293-allow-type-tagging-of-external branch May 20, 2023 01:33
johnfrench3 pushed a commit to johnfrench3/node-addon-api-git that referenced this pull request Aug 11, 2023
Derive class `TypeTaggable` from `Value`, and let it serve as the base
class for `Object` and `External`. That way, the type tagging is
implemented for both classes.

Additionally, exclude deleted .js files from linting.

Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com>
Refs: nodejs/node-addon-api#1293

PR-URL: nodejs/node-addon-api#1298
Reviewed-By: Michael Dawson <midawson@redhat.com
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
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.

3 participants