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

Change InvocableHandlerMethod#invokeSuspendingFunction return type to Object #30716

Closed
sdeleuze opened this issue Jun 21, 2023 · 0 comments
Closed
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@sdeleuze
Copy link
Contributor

sdeleuze commented Jun 21, 2023

In order to avoid potential compatibility issues when Reactive Streams dependency is not in the classpath (it is not a mandatory dependency of spring-web), org.springframework.web.method.support.InvocableHandlerMethod#invokeSuspendingFunction (introduced by #27195) return value should be changed from Publisher<?> to Object. It should be binary compatible.

@sdeleuze sdeleuze added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement labels Jun 21, 2023
@sdeleuze sdeleuze added this to the 6.0.11 milestone Jun 21, 2023
@sdeleuze sdeleuze self-assigned this Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant