You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: consider using Discussions to open a conversation about new features…
🚀 Feature Request
am trying to use this library https://github.com/melvinkcx/fastapi-events which use an ASGI middleware and when i tryed to add this middleware to my app i got the following error: AttributeError: 'EventHandlerASGIMiddleware' object has no attribute '__qualname__'
Hi @bensarifathi
BlackSheep does not support currently middlewares that use the ASGI signature, because it has its own code API to work with requests and responses.
I don't like very much the idea of supporting that other way to describe middlewares, because then to follow the same logic blacksheep should also support ASGI way of defining request handlers. I already took this into consideration in the past.
I might reconsider but I have other things on my TODO list and started.
Note: consider using Discussions to open a conversation about new features…
🚀 Feature Request
am trying to use this library https://github.com/melvinkcx/fastapi-events which use an ASGI middleware and when i tryed to add this middleware to my app i got the following error:
AttributeError: 'EventHandlerASGIMiddleware' object has no attribute '__qualname__'
Middleware call signature:
async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
The text was updated successfully, but these errors were encountered: