Schema drift is a common issue in firestore databases. Flame should be able to verify that the data in your remote/local db actually matches what you expect.
- Add a new
flame schema-check <schema.ts> command
- Dynamically imports the schema.ts file which should default export a mapping of collection names -> standard schemas (https://standardschema.dev/)
- Verify all docs in the referenced collections align with the schemas, report any mismatches to the user
Schema drift is a common issue in firestore databases. Flame should be able to verify that the data in your remote/local db actually matches what you expect.
flame schema-check <schema.ts>command