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

Implement Mongo schema validation #185

Open
mikekucera opened this issue Sep 20, 2023 · 0 comments
Open

Implement Mongo schema validation #185

mikekucera opened this issue Sep 20, 2023 · 0 comments
Assignees

Comments

@mikekucera
Copy link
Contributor

Description of new feature

Add schemas when creating the mongo collections.

This should wait until the application is in a state where its almost ready to be released. During active development the mogno document structure may change, requiring the schemas to change. Its better to wait until the document structure has stabalized.

Motivation for new feature

Catches potential errors early, instead of allowing invalid data to be inserted into the DB.
Validates incoming JSON documents to POST endpoints.

@mikekucera mikekucera self-assigned this Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant