dalenguyen / firestore-backup-restore

NPM package for backup and restore Firebase Firestore

Home Page:https://firebaseopensource.com/projects/dalenguyen/firestore-backup-restore/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restoring with nested ref is not working

kirill1a opened this issue · comments

If I'm making restore of a document that has nested ref, and it is restoring it as a string (array and regular ref are working)

Steps to reproduce:
take the import-to-firestore.json inside the tests and just import it to the emulator
with refs: ['secondRef', 'arrayRef', 'nestedRef.secondRef']

You will see that secondRef is ref, arrayRef is array of refs and nestedRef.secondRef is a string

image

Also experiencing this with an array of references