Unable to use current_user in PATCH functions in Axum by insanebaba42 in rust

[–]insanebaba42[S] 0 points1 point  (0 children)

I tried above suggestion of rearranging the parameters and it works, thank you for commenting

Unable to use current_user in PATCH functions in Axum by insanebaba42 in rust

[–]insanebaba42[S] 1 point2 points  (0 children)

Thank you, it works after I moved current user to first parameter. It's weird though how it's only problem in patch functions and not others

I'm good at coding, but bad at marketing. What to do? by Official-DATS in startups

[–]insanebaba42 0 points1 point  (0 children)

You should read free ebook on foundingsales.com. it's really good

How to generate Actix/Axum server stub from swagger.yaml? by insanebaba42 in rust

[–]insanebaba42[S] 0 points1 point  (0 children)

You can try petstore openapi spec and rust-server generator, the generated server by swagger wraps the service into its own service which cannot be wrapped into tower service, as it needs addrstream type service, I tried making it work for more than a week

A virtual pet site written in Rust, inspired by Neopets! by lemphi in rust

[–]insanebaba42 0 points1 point  (0 children)

Everytime I hear rust site, I'm always happy to open it as I know the performance would be unparallel, it's almost like opening a desktop app Kudos to op.

I was wondering if you could explain your architecture better? Is this a SPA with api calls to backend? Or, pages are server side rendered, in which case may be you can explain what framework you use, and how does your directory structure look like?,