You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "snazy (via GitHub)" <gi...@apache.org> on 2026/01/05 11:22:10 UTC

Re: [PR] Refactor PolarisConfigurationStore to streamline value typing [polaris]

snazy commented on code in PR #3324:
URL: https://github.com/apache/polaris/pull/3324#discussion_r2661162286


##########
polaris-core/src/main/java/org/apache/polaris/core/config/PolarisConfigurationStore.java:
##########
@@ -39,11 +39,26 @@ public interface PolarisConfigurationStore {
   /**
    * Retrieve the current value for a configuration key for a given realm. May be null if not set.
    *
+   * <p>This method is meant to be overridden by concrete configuration store implementations. This
+   * method is not meant to be calls by code that needs access to configuration values.
+   * Configuration consumers should call typed methods that take a {@link PolarisConfiguration}
+   * parameter instead.

Review Comment:
   ```suggestion
      * <p>This method is meant to be overridden by concrete configuration store implementations.
      * Prefer the typed functions that take a {@link PolarisConfiguration} parameter instead of a {@code String}.
   ```



-- 
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-unsubscribe@polaris.apache.org

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