New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timestamp #61
Comments
We already have |
It is firebase specific. |
@lookfirst So |
I mean, we can add a firebase-timestamp here if you think it would be valuable for more people |
Thanks @Urigo, don't worry about it. I was just seeing if you were interested. It is fine if not. I actually thought more about things and decided to store Date.toISOString() as a string in Firestore anyway. It just simplifies things. |
Thank you, @lookfirst – you just saved me tons of time! |
Hello! I've made a separate package to handle this. It's based on graphql-scalars, so it would be easy to import into this package if it ever feels right. Meanwhile, people can use this. https://github.com/cobraz/firestore-graphql-scalars |
I'm working with Firestore which has a Timestamp class. I ended up using that instead of putting Date.toISOString() everywhere.
Not sure if you want to add dependencies on outside projects so I'm doing this as an issue first vs. a PR ... here is my code...
The text was updated successfully, but these errors were encountered: