aws-samples / aws-samples/aurora-dsql-samples

typescript: Add direct TLS negotiation support to TypeORM sample

Open
#174 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
44
Forks
25
Avg merge
3h 4m
Merged PRs (30d)
166

Description

**Is your feature request related to a problem? Please describe.**
TypeORM with PostgreSQL uses node-postgres, which doesn't currently support direct TLS negotiation. This prevents our TypeORM samples from benefiting from the performance improvements and better proxy compatibility offered by this PostgreSQL 17 feature.

**Describe the solution you'd like**
Once the upstream driver supports the feature, modify the sample to add support for the `sslnegotiation` connection parameter through TypeORM's connection options.

**Describe alternatives you've considered**
- None available.

**Additional context**
This feature was originally requested in #150 and has been broken out given many drivers already support this functionality.

Status upstream depends on node-postgres support, which can be tracked in #171.

Contributor guide

Open the contributing guide

Research direction

Track node-postgres support through issue #171 before starting. Once that support is available, update the TypeORM sample's connection options to pass the PostgreSQL `sslnegotiation` parameter, then verify that the sample connects successfully using the new setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, postgresql, typescript
Domain
backend, database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.