Repository navigation
🚀 Added
exception_handlers:handle_base_error,handle_collection_error,handle_http_exceptionandhandle_request_validation_erroranswer dddesign errors,HTTPExceptionand request validation errors in one shape,Errors. A message that comes from outside (an exception detail, a validation message) is taken literally, and a detail that is not a string is dumped to JSON.middlewares, all pure ASGI:LogPropertiesManagerMiddlewareenters the scope of the application's log properties registry for each request;SentryTagsMiddlewaretags the Sentry scope with them;RequestResponseLoggingMiddlewarelogs every request and response as a dict with the route mask and the bodies, parsed up tomax_body_log_sizeand measured past it.utils:UrlMaskResolver, which resolves a path to the mask of its route without running the router, andformat_body.
Python 3.11 to 3.15, fastapi >= 0.138, < 0.166, sentry-sdk >= 2.12, < 4.
Full Changelog: https://github.com/davyddd/ddfastapi/commits/v0.0.1