Tedious sample config contains extraneous properties
Maintainer thường phản hồi trong vòng 1 ngày
@kgala2 đang làm issue này rồi.
Từ ngày 24/4/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Bug Description
In the current README sample and in tedious related system tests there are two properties: server and port that should not be necessary.
Example code (or command)
These properties should not be required:
const clientOpts = await connector.getTediousOptions({
instanceConnectionName: process.env.SQLSERVER_CONNECTION_NAME,
ipType: 'PUBLIC'
});
const connection = new Connection({
- server: '0.0.0.0',
authentication: {
type: 'default',
options: {
userName: process.env.SQLSERVER_USER,
password: process.env.SQLSERVER_PASS,
},
},
options: {
...clientOpts,
- port: 9999,
database: process.env.SQLSERVER_DB,
},
})
More Info
Currently this properties are required due to a bug in the tedious driver itself that still tries to validate these properties even when the user is defining a custom connector factory method.
Related bug in Tedious: https://github.com/tediousjs/tedious/issues/1541
- Ngôn ngữ chính
- TypeScript
- Star
- 99
- Fork
- 18
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 20
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GoogleCloudPlatform/cloud-sql-nodejs-connector
-
flakybot: issue priority: p2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#658 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#656 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flakybot: flaky flakybot: issue priority: p2 type: bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#657 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cloud Build Failure Reporter: node-integration-test-nightly (cloud-sql-connector-testing) failedĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#641 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 35/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#634 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GoogleCloudPlatform/cloud-sql-nodejs-connector
Issue tương tự
-
combobox: highlighted item never scrolls into view when there's no content part (Ark Command)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
bug P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày