awtkns / fastapi-crudrouter

A dynamic FastAPI router that automatically creates CRUD routes for your models
https://fastapi-crudrouter.awtkns.com
MIT License
1.34k stars 156 forks source link

Pydantic V2 Support #187

Open furkan-guvenc opened 1 year ago

furkan-guvenc commented 1 year ago

Hi everyone,

Currently, this project doesn't work with pydantic v2. It is possible that a compatible version can be released as Fastapi did. Any plans?

Thanks

furkan-guvenc commented 1 year ago

I added the support in a fork if you are not using ormar db, you can use it: https://github.com/furkan-guvenc/fastapi-crudrouter