v0.6.0 - Ormar Backend
🎉 Highlights
With the release of v0.6.0 fastapi-crudrouter now supports ormar as an async backend! When generating routes, the OrmarCRUDRouter will automatically tie into your database using your ormar models. To use it, simply pass your ormar database model as the schema.
OrmarCRUDRouter(
schema=MyPydanticModel,
paginate=25
)
Check out the docs for more details on how to use the OrmarCRUDRouter
.
✨ Features
- Full Ormar Support @collerek #46
- Better handling of database errors in the update route @sorXCode #48
- Improved typing #46 #43
- Black, Flake8 and Mypy linting #46
- Additional Tests for nested models #40
🐛 Bug Fixes
- Pagination issues when max limit was set to null @EthanHaid #42