Skip to content

Why is my date null in fetchSnapshot? #386

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

Open
nakedfool opened this issue Jul 27, 2020 · 1 comment
Open

Why is my date null in fetchSnapshot? #386

nakedfool opened this issue Jul 27, 2020 · 1 comment

Comments

@nakedfool
Copy link

nakedfool commented Jul 27, 2020

Hey folks,

I'm using fetchSnapshot to get versions of my document, while in response i've got everything correctly however date of when version is created is always returning null, do we even have that in response? I suppose that when creating new version, date is assigned?

Does someone have an idea what may be problem here?

image

@alecgibson
Copy link
Collaborator

Metadata isn't returned by default, and I think we currently only support requesting it on getOps and fetch in the options object (search the README for metadata: true).

I think I must have missed this method when I was putting together this: #215

I don't really have time to implement this, but a PR would be more than welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants