As new fields are introduced to Party and Character objects, the database rules now must support them as optional because of old entries in the database. This PR fills these top-level fields with default values so that I can reduce this complexity.
This also allows us to improve the performance of some queries as we can filter in Firestore instead of the app.
As new fields are introduced to Party and Character objects, the database rules now must support them as optional because of old entries in the database. This PR fills these top-level fields with default values so that I can reduce this complexity.
This also allows us to improve the performance of some queries as we can filter in Firestore instead of the app.