Hello everyone. I have the following question.
I have a collection in Firestore and I need to change its name and also the structure of the fields (i.e. change data types, and rename fields).
If I go ahead and make the changes, any web clients (I only have web clients) that haven't reloaded the app with the necessary updates for querying the new structure will have issues connecting to Firestore. For example, they won't be able to find the renamed collection or may write things to fields using the old field names.
Is there a best practice on how to handle this type of scenario?
I can think of somehow forcing a reload of the web clients as soon as I update Firestore but maybe there's a better way.
Best regards,
Andrés