Files
fastapi-best-architecture/backend/app/common
Wu Clan 7bfc7908ab Migrate to pydantic-v2 (#246)
* update the schema to pydantic-v2

* upgrade the ruff version in pre-commit

* update pagination to p-v2

* update encoder to p-v2

* update response_schema to p-v2

* update exception_handler to p-v2

* update config to p-v2

* update crud base to p-v2

* Migrate the JSON Encoder to the official one to reduce maintenance costs

* updated readme description

* restore the bcrypt compatible version

* fix validation error log code return format

* Fix manual processing method for GetCurrentUserInfo

* Integrate pydantic validate exceptions and user exceptions

* Fix validation exception handler

* add custom open response code

* Add a stand-alone assertion error handler

* Restore todo deleted by v1 branch to v2

* Add email and phone number types
2023-12-20 23:56:37 +08:00
..
2023-12-20 23:56:37 +08:00
2023-12-20 23:56:37 +08:00
2023-04-19 11:05:49 +08:00
2023-11-22 19:09:08 +08:00
2023-11-22 19:09:08 +08:00
2023-11-22 19:09:08 +08:00
2023-12-20 23:56:37 +08:00
2023-12-20 23:56:37 +08:00
2023-11-22 19:09:08 +08:00