Files
OSIT-AE-API-FastAPI/app/routers
Scott Idem 4b86432381 Enhance V3 CRUD: Implement Error Bubbling and Dry-Run Validation.
- Updated app/db_sql.py to capture SQL exceptions in thread-local storage for later retrieval.
- Implemented format_db_error() in app/lib_api_crud_v3.py to clean up raw MariaDB error strings.
- Added POST /v3/crud/{obj_type}/validate endpoint for dry-run payload validation.
- Updated main and nested routers to bubble up validation and database errors into the response 'meta.details' field.
- Added tests/test_v3_error_bubbling.py to verify formatting logic.
2026-01-09 16:57:54 -05:00
..
2020-09-14 12:41:02 -04:00
2024-07-31 18:10:59 -04:00
2024-10-02 11:42:14 -04:00
2024-05-15 10:39:01 -04:00
2024-11-07 19:37:06 -05:00
2024-04-26 15:15:37 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 15:15:37 -04:00
2024-10-09 10:38:24 -04:00