Skip to content

Expose authPlugins to enable example from docs#1497

Merged
sidorares merged 1 commit intosidorares:masterfrom
MasterOdin:bugfix-auth-plugins
Nov 15, 2022
Merged

Expose authPlugins to enable example from docs#1497
sidorares merged 1 commit intosidorares:masterfrom
MasterOdin:bugfix-auth-plugins

Conversation

@MasterOdin
Copy link
Copy Markdown
Contributor

The example of using authPlugins given in https://github.com/sidorares/node-mysql2/blob/master/lib/auth_plugins/caching_sha2_password.md is not possible, as this module does not expose a top level authPlugin object. This PR adds that top-level object, as well as fully typing for the existing plugins.

@MasterOdin
Copy link
Copy Markdown
Contributor Author

Not sure why the Windows tests are failing on a date test. That should be unrelated to this PR?

@sidorares
Copy link
Copy Markdown
Owner

@MasterOdin definitely unrelated, I saw that started to happening in other PRs. Need to investigate that

@sidorares
Copy link
Copy Markdown
Owner

@MasterOdin could you rebase please? I have accidentally merged code in the master that fails linter but that should be fixed now

Signed-off-by: Matthew Peveler <matt@popsql.com>
@MasterOdin
Copy link
Copy Markdown
Contributor Author

@sidorares I've rebased the PR onto the latest master.

@sidorares
Copy link
Copy Markdown
Owner

I don't believe perf issue is real, nothing in the PR can contribute to it. Likely a slower CI runner

@sidorares sidorares merged commit 9a19c6f into sidorares:master Nov 15, 2022
@MasterOdin MasterOdin deleted the bugfix-auth-plugins branch November 16, 2022 00:20
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.

2 participants