According to my understanding, the reason for the error is that after the suspend function is compiled, a coroutine parameter is injected into the method. When springboot processes the parameter, it will try to process this parameter, then causes an error
you can find a reproducer [here|https://github.com/RhysXia/issue-spring-data-r2dbc].
I provide two api, api "/users" can request to all users. api "/users/{username}" can request the user with the specified username. The above problem will occur when requesting this api.
RhysXia opened DATACMNS-1687 and commented
When calling the above code, an error will be reported, and the result cannot be obtained correctly. The error is as follows
According to my understanding, the reason for the error is that after the suspend function is compiled, a coroutine parameter is injected into the method. When springboot processes the parameter, it will try to process this parameter, then causes an error
Affects: 2.3 M4 (Neumann)
Reference URL: spring-projects/spring-boot#20552
Issue Links:
The text was updated successfully, but these errors were encountered: