-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Open
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Overview
The nullability is currently defined as follows.
public interface ResponseExtractor<T> {
@Nullable T extractData(ClientHttpResponse response) throws IOException;
}After discussions in #36312, we are considering changing that to the following in Spring Framework 7.1 in order to improve nullability inference.
public interface ResponseExtractor<T extends @Nullable Object> {
T extractData(ClientHttpResponse response) throws IOException;
}Related Issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement