You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sadly, the objects returned from Firestore have a random key order than changes with each export. Therefore it would be great to have a parameter like --sort-keys to have a deterministic output. My use-case for a deterministic output is to check the output for changes.
There are libs to produce a stable output, but this one has no typings.
…osli#846
The objects returned from Firestore have a random key order.
This makes it hard to compare different backup files.
Therefore, the parameter --sortKeys uses a custom and key-sorted stringify function.
Sadly, the objects returned from Firestore have a random key order than changes with each export. Therefore it would be great to have a parameter like
--sort-keys
to have a deterministic output. My use-case for a deterministic output is to check the output for changes.There are libs to produce a stable output, but this one has no typings.
https://github.com/substack/json-stable-stringify
The text was updated successfully, but these errors were encountered: