Skip to content
New issue

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

修复使用KeywordBinder时无法正确处理参数类型的问题 #892

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

ForliyScarlet
Copy link
Member

修复前,当使用spring时:

@Listener
@Filter("num:(?<num>\\d+)")
suspend fun handle(
  @FilterValue("num") num: Int
) {
  // ...
}

此时,运行时接收到事件后会得到错误,而当修改参数类型为 num: String 后便不会出现错误。

@ForliyScarlet ForliyScarlet added the bug 这是个BUG label Jul 27, 2024
@ForliyScarlet
Copy link
Member Author

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@ForteScarlet ForteScarlet merged commit 121cd6c into v4-dev Jul 28, 2024
6 checks passed
@ForteScarlet ForteScarlet deleted the fix-arg-type-mismatch-using-filtervalue branch July 30, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 这是个BUG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants