Skip to content
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

calls listDocuments to also get refs to empty documents #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kitfit-dave
Copy link

can backup collections that only contain other collections

the api seems to have added listDocuments() to CollectionReference (it's not in the documentation that I can see though...), it returns an array of ~DocumentReferences. When you get()one of those, empty documents will haveexists === true`.

needs newer version of firebase-admin

looks like there could be some refactoring of the promise code, it's is getting a bit deeply nested.
could also stop logging out the "restore" message when there will be no actual restore

there are 2 broken tests, but they seem to have already been broken...

see:
/issues/52
/issues/40
also (in the other parent fork):
steadyequipment/issues/43
steadyequipment/issues/28
and probably:
steadyequipment/issues/13
steadyequipment/issues/12

and about the restore logging:
/issues/41

can backup collections that only contain other collections
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

Successfully merging this pull request may close these issues.

1 participant