Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate data schemas #2477

Open
abraham opened this issue Jul 28, 2022 · 0 comments
Open

Validate data schemas #2477

abraham opened this issue Jul 28, 2022 · 0 comments
Labels
discussion Further discussion needed enhancement New feature or request

Comments

@abraham
Copy link
Member

abraham commented Jul 28, 2022

Use a tool to validate data is valid and conforms to defined schemas. Maybe use https://zod.dev/

  • Validation should fail loud when importing JSON to Firestore.
  • Runtime validation should log to console and display snackbar error.
@abraham abraham added enhancement New feature or request discussion Further discussion needed labels Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Further discussion needed enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant