Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Allow setting TLS settings on the underlying HTTPS agent

未关闭
#197 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
领域
backend, security

调研方向

从 lib/DBSQLClient.ts 中第 120 行附近的连接建立代码开始,检查 getConnectionOptions、ConnectionOptions 和 IConnectionOptions。跟踪自定义证书和 two-way SSL 设置如何传递到下层 HTTPS agent,然后验证用户在建立新连接时可以设置这些选项,而无需绕过 private access。

由索引模型根据 Issue 内容生成。

描述

Component: Core enhancement

Currently the settings for a custom certificate or two-way SSL are implemented on the IConnectionOptions interface but they don't surface back up to an object that the user of the library can easily manipulate; for example in ConnectionOptions. I think these options should be settable when establishing a new connection in https://github.com/databricks/databricks-sql-nodejs/blob/main/lib/DBSQLClient.ts#L120C16-L120C23

A workaround is to bypass the 'private' protections on DBSQLClient.getConnectionOptions but that is non-ideal.

主要语言
TypeScript
星标
36
派生
50
平均合并
13 小时 46 分钟
30 天内合并 PR
9

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

databricks/databricks-sql-nodejs 的其他 Issue

查看 databricks/databricks-sql-nodejs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。