I am building a firebase function that listens to a trigger and sends a push notification to users. The trigger is based on firestore data that's too complex for me to manually re-recreate every time on firestore emulator.
I tried emulating functions, but hooking up to firestore production, but seems like in this case, trigger functions don't work
What I want to do is export my data from my production Firestore then import it into my emulator firestore, so that at least, the copy I am working with is closely mimicking what I have on prod; to be clear, the data is small, so I am not worried about downloading terabytes of data.
I found a way of importing data into an emulator, but not sure if this would work with production data or how I would dump the data from production.
firebase emulators:start --import=./some-directory