-
-
Notifications
You must be signed in to change notification settings - Fork 632
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
feat: allow to specify ssl: true
in connection options
#3387
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3387 +/- ##
=======================================
Coverage 88.77% 88.78%
=======================================
Files 85 85
Lines 13448 13453 +5
Branches 1535 1537 +2
=======================================
+ Hits 11939 11944 +5
Misses 1509 1509
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* Update 00-index.mdx * Create ssl.mdx * Update ssl.mdx * Update ssl.mdx * Update ssl.mdx * add default cert example * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * Update website/docs/documentation/ssl.mdx Co-authored-by: Weslley Araújo <[email protected]> * some changes * lint * Update website/docs/documentation/ssl.mdx --------- Co-authored-by: Weslley Araújo <[email protected]>
Thanks, @pkuczynski! I'll review your PR as soon as possible. @sidorares, feel free to review it first 🤝 @pkuczynski, the website (docs) has some customized components. Normally I don't suggest it to the contributors so as not to make it unnecessarily complicated (I put it in a personal queue to adjust it later). But to prevent confusion, I'm adding them as optional tips here 🙋🏻♂️ ExternalCodeEmbed
Tip With this component, plus the You can see a practical example by clicking in History
Tip Here we can refer to the next You can see a practical example by clicking in Stability
Tip In the documentation, instead of You can see a practical example in: All these suggestions are optional and you can find the documentation contribution guide at sidorares.github.io/node-mysql2/docs/contributing/website 💡 |
ssl: true
in connection options
@pkuczynski, sorry for the delay. The node-mysql2/lib/connection_config.js Lines 144 to 147 in 36349eb
I think it would be beneficial to keep the logic contained in the same place (especially as it's easier to maintain in the long-term), what do you think? |
Follow up for #3384, inspired by #3028