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

src: interject class TypeTaggable #1298

Conversation

gabrielschulhof
Copy link
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
Contributor Author

gabrielschulhof commented Mar 27, 2023

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