Skip to content

Allow to override pg library #28

@temsa

Description

@temsa

I'd like to use https://www.npmjs.com/package/pg-range with my fastify-postgres.

By default, pg-range is patching the pg in order to work.

var pg = require("pg");
require("pg-range").install(pg);

Currently, I can't override the pg (at least properly) used by fastify-postgres

Could we make an option for overriding it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions