Skip to content

Implement flame schema-check #1

@rk234

Description

@rk234

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions