gh0st
gh0st
Same here, dependency injection in middleware (funcs) & decorators is extremely needed. It is very necessary for multiple middleware that change data before the main function (in docs only after),...
Minimum on the fly normalization of func (calculating of signature and binders) requires: 1. Removing `@functools.wraps` from decorator (so, better implement on framework level) 2. Adding to framework raw `route.param_names`,...
I know about guardpost, but this is not only about authentication, in fact about creating any decorators and middlewares that really change, process something (request, user input), we can say...
Ok, just in time, I will write an example of implementation.
[Implementation example](https://github.com/gh0st-work/blacksheep_decorators) Final version is extremelly easy and comfortable in understanding and coding:  Logic of injections for only 50 lines, the key thing is understanding: ```python from blacksheep import...
> Pinning version 0.19.0 fixes things for me. \+ 0.19.1 and 0.19.2 are broken in fields abstract inheritance
> Maybe missing, `-lunwind` (EH ABI) or try replacing `-lc` to `-lc++`. Also, for zig triple-target `arch-linux-gnu`, remove unknown > I can compile it linking with `libunwind` or c++, but...
### Same issue Here's more detailed example: GitHub Actions [logs](https://github.com/gh0st-work/gh.rs/actions/runs/6953919052/job/18919832358) & [config](https://github.com/gh0st-work/gh.rs/blob/6ca9c8b0a7eb0c4ca5782953fb4cec0ddf1e4977/.github/workflows/ci.yaml). Also `openssl` -> `libcrypto`. `x86_x64-apple-darwin` log: ``` install libcrypto.a -> /target/x86_64-apple-darwin/release/build/openssl-sys-0d18ecb4af7331db/out/openssl-build/install/lib/libcrypto.a --- stderr /opt/osxcross/bin/x86_64-apple-darwin20.4-ranlib: file: libssl.a(libssl-lib-ssl_utst.o) has no...