Skip to content

Migrating towards Temporal.Duration #55

Description

@louisboulagnon

Hello, thank you for your work on this project,

With the standardization of the Temporal API and its inclusion in node 26, would it be worth considering parsing interval results as a Temporal.Duration when available ?

Thankfully, PostgresInterval has a very close shape to Duration, so downstream migration shouldn't be too complicated, but I think using the standard type directly would be useful for interoperability without having to transform the output

There would need to be some coordination with node-postgres for param parsing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions