Skip to content

Conversation

@AghastyGD
Copy link
Owner

No description provided.

- Introduced async support for routes in `register_model_routes_internal`.
- Added `is_async` parameter to allow configuration of async or sync mode (default is True).
- Updated route handlers to support both async and sync operations.
- Ensured backward compatibility with existing sync operations.
- Introduced `ErrorHandlingMiddleware` to handle exceptions and return JSON responses.
- Middleware catches all exceptions raised during request processing and returns appropriate JSON responses with status codes.
- Added support for both synchronous and asynchronous request handling.
- Logs unexpected errors and formats tracebacks for easier debugging.
- Implemented pagination for asynchronous routes,
- Enhanced filtering logic to support more flexible query parameters.
Add Async Support, Global Error Handling, and Enhanced Filtering
@AghastyGD AghastyGD added the enhancement New feature or request label Mar 22, 2025
@AghastyGD AghastyGD self-assigned this Mar 22, 2025
@AghastyGD AghastyGD merged commit b9e8a1a into main Mar 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant