rsrkpatwari1234 commented on code in PR #17522:
URL: https://github.com/apache/pinot/pull/17522#discussion_r2709890495
##########
pinot-spi/src/main/java/org/apache/pinot/spi/config/user/UserConfig.java:
##########
@@ -109,10 +109,18 @@ public List<String> getExcludeTables() {
}
@JsonProperty(PERMISSIONS_KEY)
- public List<AccessType> getPermissios() {
+ public List<AccessType> getPermissions() {
return _permissions;
}
+ /**
+ * @deprecated Use {@link #getPermissions()} instead. This method has a typo
in its name.
+ */
+ @Deprecated
+ public List<AccessType> getPermissios() {
Review Comment:
The typo'd method is just for Java API backward compatibility, not JSON
backward compatibility. Adding @JsonIgnore to prevent accidental JSON
serialization
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]