We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug "handle < U >" is not a valid identifier.
"handle < U >"
To Reproduce
#[derive(Debug, Clone)] pub struct handle<U>(U); #[salvo::oapi::endpoint] impl<U> handle<U> { async fn handle(&self, _req: &mut Request) -> String { String::new() } }
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
Additional context
#[salvo::handler]
pub struct handle(i8)
The text was updated successfully, but these errors were encountered:
fix(oapi-macros): Support the generic parameters. salvo-rs#945
a7fc162
Merge pull request #953 from andeya/andeya
2676cf1
fix(oapi-macros): Support the generic parameters. #945
No branches or pull requests
Describe the bug
"handle < U >"
is not a valid identifier.To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
Additional context
#[salvo::handler]
is ok.pub struct handle(i8)
is also ok.The text was updated successfully, but these errors were encountered: