jerqi commented on code in PR #4894:
URL: https://github.com/apache/gravitino/pull/4894#discussion_r1773027953


##########
common/src/main/java/org/apache/gravitino/dto/authorization/RoleDTO.java:
##########
@@ -43,9 +44,13 @@ public class RoleDTO implements Role {
   @JsonProperty("properties")
   private Map<String, String> properties;
 
+  @Nullable
   @JsonProperty("securableObjects")
   private SecurableObjectDTO[] securableObjects;
 
+  @JsonProperty("securableObjectsCount")
+  private int securableObjectsCount;

Review Comment:
   Name has similar reason above. This field is 0 if we don't have any objects 
in the role.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to