Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Make `Connection`’s `parsedStatements` a prototypeless object

Đang mở
#3,625 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@charmander đang làm issue này rồi.

Từ ngày 11/8/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

make Connection’s parsedStatements a prototypeless object

(= namedQueries on the native Client)

Maybe nobody has ever tried to prepare a query with name: 'constructor' (let alone the more obscure options on Object.prototype), and maybe nobody ever will, but it would be nice not to have to think about this anymore. Technically a breaking change for anyone who’s reaching into pg internals to do an inadvisable client.connection.parsedStatements.hasOwnProperty(…) check, for example.

Originally posted by @charmander in https://github.com/brianc/node-postgres/discussions/3598#discussioncomment-15942909

Ngôn ngữ chính
JavaScript
Star
13.2k
Fork
1.4k
Merge trung bình
6 ngày 15 giờ
Pull request đã merge (30 ngày)
6

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của brianc/node-postgres

Tất cả issue của brianc/node-postgres

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.