Re:Show HN: An Express-inspired web framework for Rust
by samuelbonill on Sunday October 16, 2022 @08:40AM
(#33223138)
or you can use an extractor in function base handlers, in struct base handlers you can use context c.parse_query()
Re:Show HN: An Express-inspired web framework for Rust
by davidatbu on Monday October 17, 2022 @02:31PM
(#33237744)
Thanks! But you haven't convinced me that this adds any value right now on top of Axum, at all. Perhaps this is sort of an early release, since you mention elsewhere that the plan is to support GraphQL (and that would be the value-add)?
Re:Show HN: An Express-inspired web framework for Rust
by samuelbonill on Monday October 17, 2022 @02:55PM
(#33238003)
the idea is not to convince you, if you like another web framework like Axum, hyper, or actix you can use it, this framework is for other developers ( javascript, python, or rust developer that wants to start building microservices with rust with a friendly syntax like express or flask)
let value: Json<MyStruct> = match c.parse_params().await
< https://github.com/graphul-rs/graphul#-resource >