Results 49 comments of Chrislearn Young

This is an example: https://github.com/salvo-rs/salvo/blob/oapi/examples/todos-oapi/src/main.rs You can compare it with this example use utoipa: https://github.com/salvo-rs/salvo/blob/oapi/examples/todos-utoipa/src/main.rs Current developing implemention is modified from utopia.

> 更新至 `0.64` 版本以上代码报错,错误信息如下: > > ``` > error[E0195]: lifetime parameters or bounds on method `extract` do not match the trait declaration > --> rsns-server\src\common\request.rs:51:14 > | > 51 |...

> @chrislearn `0.65.1` 最新版本配合上述代码 示例如下 ↓ > > [salvo_validator_test.zip](https://github.com/salvo-rs/salvo/files/14049743/salvo_validator_test.zip) > > `0.64` 、`0.65`版本报错信息同上,`0.63`版本正常 去除掉上面的 #[async_trait] ```rust #[async_trait] impl for JsonValidatedBody ```

I'm using the code below, but I'm not getting compilation errors. If you do encounter a compilation error, please provide a minimal reproducible code base. I cannot run the code...

Now you do need to write it twice. Perhaps verification-related functions will be implemented in future versions and there is no need to write it twice.

Rust framework always much time on build docker images . Is taht possible to use docker muilt-build stage or shared a comon build image or other way to share the...

这个不是 salvo 的 bug,你直接用标准库里面的 TcpListener 也是一样。 你可以查看关于 IPv4-mapped IPv6 address 相关的问题。

If `status_codes(201, 409)` is not added, it means that the status code returned by this endpoint may be 200, 201, 400, 401, 403, 404, 500... and so on. After adding...

I couldn't find any way to automatically detect this, have you found any?