Skip to content

Require schemas in collection_utils #325

@anantmittal

Description

@anantmittal

Need for Optimization
Schema validation happens inside flask layer at the moment. Introduce schema validation at the database layer to increase our confidence in the system.

Describe Desired Optimization
Add schema argument on both get and post in collection_utils.py and ensure that it's required.

Additional Context
This will help us further in downstream tasks such as database migration, etc.

Metadata

Metadata

Assignees

Labels

BackendThis issue requires touching flask and/or database model

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions