Skip to content

fix method declarations to conform with napi default for methods#1510

Merged
daniellockyer merged 3 commits intoTryGhost:masterfrom
alexanderfloh:master
May 21, 2022
Merged

fix method declarations to conform with napi default for methods#1510
daniellockyer merged 3 commits intoTryGhost:masterfrom
alexanderfloh:master

Conversation

@alexanderfloh
Copy link
Copy Markdown
Contributor

Fix native method implementation to use the proper default options for methods (see nodejs/node-addon-api#811 for details).

This has the beneficial effect that it allows instrumenting the sqlite3 API for tools like Open Telemetry or other APM tools.

Note: instrumentation was possible before sqlite3 v5 and the switch to NAPI.

@alexanderfloh
Copy link
Copy Markdown
Contributor Author

@kewde can you please consider this for merging? Thanks!

@daniellockyer
Copy link
Copy Markdown
Contributor

@alexanderfloh Would you be able to rebase the PR? 🙂

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