Phillippko commented on code in PR #3671:
URL: https://github.com/apache/ignite-3/pull/3671#discussion_r1580946885


##########
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/api/recovery/GlobalPartitionStatesResponse.java:
##########
@@ -29,6 +30,7 @@
 @Schema(description = "Information about global partition states.")
 public class GlobalPartitionStatesResponse {
     @Schema
+    @JsonInclude

Review Comment:
   Without JsonInclude, if states are empty, resulting body is `{}`, so 
deserialization fails ("states is null"). But didn't see any other usages of 
JsonInclude, so it seems there is a better way to fix it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to