-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
Description
I would like to build a reusable CRUD view class on top of flask-rest-api. I built one previously fairly close to flask-restful's design, and was wondering if anything currently exists or you have tips or suggestions of how to proceed.
The problem I am trying to solve is building the same list/get/update/delete endpoints over and over for various DB models. I want to declare things like access controls, default schema for serialization, what fields are permitted to update, DB model class, relationships to prefetch (i.e. joinedload) for list view, and auto-registration of endpoints via __init_subclass__.
Anything you'd suggest or like to see? Anything like this exist already on top of flask-rest-api?