aws-samples / aws-samples/aurora-dsql-samples
typescript: Add direct TLS negotiation support to TypeORM sample
- 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
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