Skip to content

Firestore: Support for the new Temporal API #8087

@7hokerz

Description

@7hokerz

Library Name

@google-cloud/firestore

A screenshot that you have tested with "Try this API".

With the Temporal API emerging as the modern replacement for the legacy Date object, I was wondering if the team has any plans to support it in this library.
Link mentioning Temporal types in TypeScript

What would you like to see in the library?

It would be great if a temporal conversion function like (e.g. Timestamp.fromTemporal, etc...) were supported.

Describe alternatives you've considered

Although it is possible to use values ​​generated as Temporal by converting them to Date, this proposal was made to alleviate such inconvenience.

Additional context/notes

I can take an incremental approach to ensure stability.
Is this currently on your radar or part of the future roadmap?
Can I make a PR and contribute to this part? If possible, I would like to proceed with this work.
I’ll ensure it works seamlessly with the existing API without breaking changes.

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the Firestore API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions