Open MNorgren opened 3 years ago
If anyone else is needing to do something similiar, I was able to work around this config issue with the following HACK:
// HACK: Changing ignored undefined properties
const tempFireStore = firestore as any;
tempFireStore._settingsFrozen = false;
tempFireStore.settings({ignoreUndefinedProperties: true});
tempFireStore._settingsFrozen = true;
Thanks! The workaround for me now as well :)
I want to configure my firestore settings for a specific migration. I need to set "ignoreUndefinedProperties: true". When I do this within the migrate function, I receive an error that Firestore has already been initialized. Is there a way to configure firestore settings?