Skip to content

typescript: Add direct TLS negotiation support to Sequelize sample #173

@danielfrankcom

Description

@danielfrankcom

Is your feature request related to a problem? Please describe.
Sequelize uses node-postgres under the hood, which currently doesn't support PostgreSQL 17's direct TLS negotiation feature. This prevents our Sequelize-based samples from taking advantage of improved connection performance.

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 Sequelize's connection options.

Describe alternatives you've considered

  • Using pg-native through Sequelize's native: true option, but this requires additional platform dependencies and may not be supported in all environments.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions