kevlened / fireway

A schema migration tool for firestore
MIT License
279 stars 41 forks source link

Return stats object from migrate function #18

Closed jozefcipa closed 3 years ago

jozefcipa commented 3 years ago

Hi, I want to use the library in my application and would like to get the statistics data. I opened this PR as I think it might be useful to more people :)

kevlened commented 3 years ago

Just be aware that if you try to call fireway twice in the same script you may see changes logged to the console twice. This is because of the way fireway proxies calls.

jozefcipa commented 3 years ago

Cool, thanks 🙏 Regarding the issue you described, yeah I know and I'm planning to work on it so maybe I'll get back to you with another PR :) 🤷‍♂️