eric-maynard commented on code in PR #2007:
URL: https://github.com/apache/polaris/pull/2007#discussion_r2193159633


##########
polaris-core/src/main/java/org/apache/polaris/core/config/PolarisConfiguration.java:
##########
@@ -124,6 +124,18 @@ T cast(Object value) {
     return this.typ.cast(value);
   }
 
+  public String key() {
+    return key;
+  }
+
+  public String description() {
+    return description;
+  }
+
+  public T defaultValue() {
+    return defaultValue;
+  }

Review Comment:
   There is no use for `catalogConfigImpl` -- in fact, that's my point. We 
always want the check in `catalogConfig` and we never want to directly access 
`catalogConfigImpl`, which is why `catalogConfig` is a method. If we have a 
similar situation for the other fields like `key`, then I think accessor 
methods are a good idea. If not, I'm not sure we need to break the API at this 
time.



-- 
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: issues-unsubscr...@polaris.apache.org

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

Reply via email to